mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
docs($injector): Reword fn param docs and link to DI information
This commit is contained in:
committed by
Brian Ford
parent
5a1a6b86a8
commit
ba38de2212
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user