docs(guide/di): fix typo
Fixed a typo. "depenendencies" -> "dependencies" Closes #7232
This commit is contained in:
committed by
Caitlin Potter
parent
1f1cad8517
commit
76647d3855
@@ -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