mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
docs(guide): minor grammatical change
This commit is contained in:
parent
59c29e320a
commit
2c34596b32
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ There are only three ways how an object or a function can get a hold of its depe
|
|||
3. The dependency can be passed in to where it is needed.
|
||||
|
||||
|
||||
The first two option of creating or looking up dependencies are not optimal, because they hard
|
||||
The first two options of creating or looking up dependencies are not optimal, because they hard
|
||||
code the dependency, making it difficult, if not impossible, to modify the dependencies.
|
||||
This is especially problematic in tests, where it is often desirable to provide mock dependencies
|
||||
for test isolation.
|
||||
|
|
|
|||
Loading…
Reference in a new issue