Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 7fb8869

Browse files
janhancicbtford
authored andcommitted
docs(tutorial/step_12): link to API docs
1 parent bdcc657 commit 7fb8869

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/content/tutorial/step_12.ngdoc

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ a dependency with the application module, will enable animations throughout the
2020

2121
Common `ng` directives automatically trigger hooks for animations to tap into. When an animation is found
2222
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`}).
2425

2526
The most important changes are listed below. You can see the full diff on
2627
[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
3435

3536
## Template
3637

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.
4042

4143
Here's what needs to changed in the index file:
4244

@@ -197,7 +199,7 @@ which are described in detail below.
197199

198200
## Animating `ngView` with CSS Keyframe Animations
199201

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`}.
201203

202204
To start, let's add a new CSS class to our HTML like we did in the example above.
203205
This time, instead of the `ng-repeat` element, let's add it to the element containing the ng-view directive.

0 commit comments

Comments
 (0)