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

Commit efbb365

Browse files
Christopher-Rainsbtford
authored andcommitted
docs(tutorial): fix formatting
- proper case "jQuery" vs "JQuery" - wrap ng-view in markdown code `ng-view`
1 parent 38e0ab9 commit efbb365

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/tutorial/step_12.ngdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ animations on top of the template code we created before.
2121
## Dependencies
2222

2323
The animation functionality is provided by Angular in the `ngAnimate` module, which is distributed
24-
separately from the core Angular framework. In addition we will use `JQuery` in this project to do
24+
separately from the core Angular framework. In addition we will use `jQuery` in this project to do
2525
extra JavaScript animations.
2626

2727
We are using [Bower][bower] to install client side dependencies. This step updates the
@@ -49,8 +49,8 @@ We are using [Bower][bower] to install client side dependencies. This step upda
4949

5050
* `"angular-animate": "~1.2.x"` tells bower to install a version of the
5151
angular-animate component that is compatible with version 1.2.x.
52-
* `"jquery": "1.10.2"` tells bower to install the 1.10.2 version of JQuery. Note that this is not an
53-
Angular library, it is the standard JQuery library. We can use bower to install a wide range of 3rd
52+
* `"jquery": "1.10.2"` tells bower to install the 1.10.2 version of jQuery. Note that this is not an
53+
Angular library, it is the standard jQuery library. We can use bower to install a wide range of 3rd
5454
party libraries.
5555

5656
We must ask bower to download and install this dependency. We can do this by running:
@@ -255,7 +255,7 @@ which are described in detail below.
255255
Next let's add an animation for transitions between route changes in {@link api/ngRoute.directive:ngView `ngView`}.
256256

257257
To start, let's add a new CSS class to our HTML like we did in the example above.
258-
This time, instead of the `ng-repeat` element, let's add it to the element containing the ng-view directive.
258+
This time, instead of the `ng-repeat` element, let's add it to the element containing the `ng-view` directive.
259259
In order to do this, we'll have to make some small changes to the HTML code so that we can have more control over our
260260
animations between view changes.
261261

@@ -346,7 +346,7 @@ over). This works fluidly so that pages flow naturally between route changes wit
346346
jumping around.
347347

348348
The CSS classes applied (the start and end classes) are much the same as with `ng-repeat`. Each time
349-
a new page is loaded the ng-view directive will create a copy of itself, download the template and
349+
a new page is loaded the `ng-view` directive will create a copy of itself, download the template and
350350
append the contents. This ensures that all views are contained within a single HTML element which
351351
allows for easy animation control.
352352

0 commit comments

Comments
 (0)