diff options
| -rw-r--r-- | src/ngAnimate/animate.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/ngAnimate/animate.js b/src/ngAnimate/animate.js index f31932dc..ca9c91b5 100644 --- a/src/ngAnimate/animate.js +++ b/src/ngAnimate/animate.js @@ -190,7 +190,7 @@   *   * <pre>   * //!annotate="YourApp" Your AngularJS Module|Replace this or ngModule with the module that you used to define your application. - * var ngModule = angular.module('YourApp', []); + * var ngModule = angular.module('YourApp', ['ngAnimate']);   * ngModule.animation('.my-crazy-animation', function() {   *   return {   *     enter: function(element, done) { @@ -199,8 +199,8 @@   *         //this (optional) function will be called when the animation   *         //completes or when the animation is cancelled (the cancelled   *         //flag will be set to true if cancelled). - *       } - *     } + *       }; + *     },   *     leave: function(element, done) { },   *     move: function(element, done) { },   * @@ -215,7 +215,7 @@   *   *     //animation that can be triggered after the class is removed   *     removeClass: function(element, className, done) { } - *   } + *   };   * });   * </pre>   * | 
