-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning AngularJS Animations
By :
AngularJS is a module-based framework; if we want our AngularJS application to have the animation feature, we need to add the animation module (ngAnimate). We have to include this module in the application by adding the module as a dependency in our AngularJS application.
However, before that, we should include the JavaScript angular-animate.js file in HTML. Both files are available on the Google content distribution network (CDN), Bower, Google Code, and https://angularjs.org/.
The Google developers CDN hosts many versions of AngularJS, as listed here:
https://developers.google.com/speed/libraries/devguide#angularjs
Currently, AngularJS Version 1.3.0 is the latest stable version, so we will use AngularJS Version 1.3.0 on all sample files of this book; we can get them from https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular.min.js and https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0/angular-animate.min.js.
You might want to use Bower...
Change the font size
Change margin width
Change background colour