@@ -20,7 +20,8 @@ a dependency with the application module, will enable animations throughout the
20
20
21
21
Common `ng` directives automatically trigger hooks for animations to tap into. When an animation is found
22
22
then the animation will run in between the standard DOM operation that is being issued on the element at
23
- the given time (e.g. inserting and removing nodes on ngRepeat or adding and removing classes on ngClass).
23
+ the given time (e.g. inserting and removing nodes on {@link api/ng.directive:ngRepeat `ngRepeat`} or adding
24
+ and removing classes on {@link api/ng.directive:ngClass `ngClass`}).
24
25
25
26
The most important changes are listed below. You can see the full diff on
26
27
[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
34
35
35
36
## Template
36
37
37
- The changes required within the HTML template code is to link the asset files which define the animations as well
38
- as the `angular-animate.js` file. The animation module, known as `ngAnimate`, is defined within
39
- `angular-animate.js` and contains the code necessary to make your application become animation aware.
38
+ The changes required within the HTML template code is to link the asset files which define the animations as
39
+ well as the `angular-animate.js` file. The animation module, known as {@link api/ngAnimate `ngAnimate`}, is
40
+ defined within `angular-animate.js` and contains the code necessary to make your application become animation
41
+ aware.
40
42
41
43
Here's what needs to changed in the index file:
42
44
@@ -197,7 +199,7 @@ which are described in detail below.
197
199
198
200
## Animating `ngView` with CSS Keyframe Animations
199
201
200
- Next let's add an animation for transitions between route changes in `ngView`.
202
+ Next let's add an animation for transitions between route changes in {@link api/ngRoute.directive:ngView `ngView`} .
201
203
202
204
To start, let's add a new CSS class to our HTML like we did in the example above.
203
205
This time, instead of the `ng-repeat` element, let's add it to the element containing the ng-view directive.
0 commit comments