mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-06-18 03:58:15 +08:00
docs(mock.inject): fix typo
This commit is contained in:
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
@@ -1743,7 +1743,7 @@ window.jasmine && (function(window) {
|
||||
* the variable to have the same name of the reference we have a problem, since the parameter
|
||||
* to the `inject()` function would hide the outer variable.
|
||||
*
|
||||
* To help with this, the injected parameters can, optionally, beenclosing with underscores.
|
||||
* To help with this, the injected parameters can, optionally, be enclosed with underscores.
|
||||
* These are ignored by the injector when the reference name is resolved.
|
||||
*
|
||||
* For example, the parameter `_myService_` would be resolved as the reference `myService`.
|
||||
|
||||
Reference in New Issue
Block a user