mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
docs(guide/di): fix typo
Fixed a typo. "depenendencies" -> "dependencies" Closes #7232
This commit is contained in:
committed by
Caitlin Potter
parent
e19dbc7793
commit
737ef25df1
@@ -207,7 +207,7 @@ someModule.factory('greeter', ['$window', function(renamed$window) {
|
||||
```
|
||||
|
||||
Here, instead of simply providing the factory function, we pass an array, whose elements consist of
|
||||
a list of strings (the names of the depenendencies) followed by the function itself.
|
||||
a list of strings (the names of the dependencies) followed by the function itself.
|
||||
|
||||
Keep in mind that all of the annotation styles are equivalent and can be used anywhere in Angular
|
||||
where injection is supported.
|
||||
|
||||
Reference in New Issue
Block a user