ngAnimate Setup question

Now that I have made a couple sets of index.html pages for the wikipedia API I am tinkering with various ways of making them more responsive. I have been following the instructions at https://docs.angularjs.org/api/ngAnimate and am currently stuck on the part where I need to load the module into my app by adding it as a dependent module: where am I supposed to add the

angular.module(‘app’,[ngAnimate])

?

###########
The bower part was easy as

choco install bower -y ;

bower install angular-animate ;

so after I add the script src=pathToangular-animate.js to my index.html,
where I am supposed to put: angular.module(‘app’, [‘ngAnimate’])
?

Is this AngularJS, Angular2, Angular4, Angular8?

ps. FreeCodeCamp doesn’t teach Angular.