diff options
| -rw-r--r-- | docs/content/tutorial/step_12.ngdoc | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/docs/content/tutorial/step_12.ngdoc b/docs/content/tutorial/step_12.ngdoc index fa1547e3..060c7d0d 100644 --- a/docs/content/tutorial/step_12.ngdoc +++ b/docs/content/tutorial/step_12.ngdoc @@ -20,7 +20,8 @@ a dependency with the application module, will enable animations throughout the Common `ng` directives automatically trigger hooks for animations to tap into. When an animation is found then the animation will run in between the standard DOM operation that is being issued on the element at -the given time (e.g. inserting and removing nodes on ngRepeat or adding and removing classes on ngClass). +the given time (e.g. inserting and removing nodes on {@link api/ng.directive:ngRepeat `ngRepeat`} or adding +and removing classes on {@link api/ng.directive:ngClass `ngClass`}). The most important changes are listed below. You can see the full diff on [GitHub](https://github.com/angular/angular-phonecat/compare/step-11...step-12): @@ -34,9 +35,10 @@ To get an idea of how animations work with AngularJS, please read the ## Template -The changes required within the HTML template code is to link the asset files which define the animations as well -as the `angular-animate.js` file. The animation module, known as `ngAnimate`, is defined within -`angular-animate.js` and contains the code necessary to make your application become animation aware. +The changes required within the HTML template code is to link the asset files which define the animations as +well as the `angular-animate.js` file. The animation module, known as {@link api/ngAnimate `ngAnimate`}, is +defined within `angular-animate.js` and contains the code necessary to make your application become animation +aware. Here's what needs to changed in the index file: @@ -197,7 +199,7 @@ which are described in detail below. ## Animating `ngView` with CSS Keyframe Animations -Next let's add an animation for transitions between route changes in `ngView`. +Next let's add an animation for transitions between route changes in {@link api/ngRoute.directive:ngView `ngView`}. To start, let's add a new CSS class to our HTML like we did in the example above. This time, instead of the `ng-repeat` element, let's add it to the element containing the ng-view directive. |
