docs(guide/di): fix typo

Fixed a typo. "depenendencies" -> "dependencies"

Closes #7232
This commit is contained in:
Michael Payne
2014-04-24 13:25:22 -04:00
committed by Caitlin Potter
parent e19dbc7793
commit 737ef25df1

View File

@@ -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.