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

Commit fa15f2a

Browse files
kchiapetebacondarwin
authored andcommitted
docs(tutorial/7): correct typos
Closes #10587
1 parent c023a0b commit fa15f2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/content/tutorial/step_07.ngdoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ multiple views by adding routing, using an Angular module called 'ngRoute'.
2121
The routing functionality added by this step is provided by angular in the `ngRoute` module, which
2222
is distributed separately from the core Angular framework.
2323

24-
We are using [Bower][bower] to install client side dependencies. This step updates the
24+
We are using [Bower][bower] to install client-side dependencies. This step updates the
2525
`bower.json` configuration file to include the new dependency:
2626

2727
```json
@@ -46,7 +46,7 @@ The new dependency `"angular-route": "~1.3.0"` tells bower to install a version
4646
angular-route component that is compatible with version 1.3.x. We must tell bower to download
4747
and install this dependency.
4848

49-
If you have bower installed globally then you can run `bower install` but for this project we have
49+
If you have bower installed globally, then you can run `bower install` but for this project, we have
5050
preconfigured npm to run bower install for us:
5151

5252
```
@@ -70,7 +70,7 @@ the current "route" — the view that is currently displayed to the user.
7070
Application routes in Angular are declared via the {@link ngRoute.$routeProvider $routeProvider},
7171
which is the provider of the {@link ngRoute.$route $route service}. This service makes it easy to
7272
wire together controllers, view templates, and the current URL location in the browser. Using this
73-
feature we can implement [deep linking](http://en.wikipedia.org/wiki/Deep_linking), which lets us
73+
feature, we can implement [deep linking](http://en.wikipedia.org/wiki/Deep_linking), which lets us
7474
utilize the browser's history (back and forward navigation) and bookmarks.
7575

7676

@@ -81,7 +81,7 @@ AngularJS, so it's important for you to understand a thing or two about how it w
8181

8282
When the application bootstraps, Angular creates an injector that will be used to find and inject all
8383
of the services that are required by your app. The injector itself doesn't know anything about what
84-
`$http` or `$route` services do, in fact it doesn't even know about the existence of these services
84+
`$http` or `$route` services do. In fact, the injector doesn't even know about the existence of these services
8585
unless it is configured with proper module definitions.
8686

8787
The injector only carries out the following steps :
@@ -295,7 +295,7 @@ phonecatControllers.controller('PhoneDetailCtrl', ['$scope', '$routeParams',
295295

296296
Again, note that we created a new module called `phonecatControllers`. For small AngularJS
297297
applications, it's common to create just one module for all of your controllers if there are just a
298-
few. As your application grows it is quite common to refactor your code into additional modules.
298+
few. As your application grows, it is quite common to refactor your code into additional modules.
299299
For larger apps, you will probably want to create separate modules for each major feature of
300300
your app.
301301

@@ -349,7 +349,7 @@ the same binding into the `phone-list.html` template, the binding will work as e
349349

350350
<div style="display: none">
351351
* In `PhoneCatCtrl`, create a new model called "`hero`" with `this.hero = 'Zoro'`. In
352-
`PhoneListCtrl` let's shadow it with `this.hero = 'Batman'`, and in `PhoneDetailCtrl` we'll use
352+
`PhoneListCtrl`, let's shadow it with `this.hero = 'Batman'`. In `PhoneDetailCtrl`, we'll use
353353
`this.hero = "Captain Proton"`. Then add the `<p>hero = {{hero}}</p>` to all three of our templates
354354
(`index.html`, `phone-list.html`, and `phone-detail.html`). Open the app and you'll see scope
355355
inheritance and model property shadowing do some wonders.

0 commit comments

Comments
 (0)