mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-12 22:35:30 +08:00
docs(tutorial): update step7 ngdoc to fix grammar
This line was missing an 'as' Previous: We also have to add the modules dependencies of our app. By listing these two modules as dependencies of `phonecatApp`, ... New: We also have to add the modules *as* dependencies of our app. Closes #8345
This commit is contained in:
@@ -202,7 +202,7 @@ moved the controllers into their own module `phonecatControllers` (as shown belo
|
||||
|
||||
We added `angular-route.js` to `index.html` and created a new `phonecatControllers` module in
|
||||
`controllers.js`. That's not all we need to do to be able to use their code, however. We also have
|
||||
to add the modules dependencies of our app. By listing these two modules as dependencies of
|
||||
to add the modules as dependencies of our app. By listing these two modules as dependencies of
|
||||
`phonecatApp`, we can use the directives and services they provide.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user