mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
docs($injector): Reword fn param docs and link to DI information
This commit is contained in:
parent
5a1a6b86a8
commit
ba38de2212
1 changed files with 2 additions and 1 deletions
|
|
@ -147,7 +147,8 @@ function annotate(fn) {
|
|||
* @description
|
||||
* Invoke the method and supply the method arguments from the `$injector`.
|
||||
*
|
||||
* @param {!function} fn The function to invoke. The function arguments come form the function annotation.
|
||||
* @param {!function} fn The function to invoke. Function parameters are injected according to the
|
||||
* {@link guide/di $inject Annotation} rules.
|
||||
* @param {Object=} self The `this` for the invoked method.
|
||||
* @param {Object=} locals Optional object. If preset then any argument names are read from this object first, before
|
||||
* the `$injector` is consulted.
|
||||
|
|
|
|||
Loading…
Reference in a new issue