docs($injector): Reword fn param docs and link to DI information

This commit is contained in:
Caitlin Potter 2013-09-30 18:56:41 -04:00 committed by Brian Ford
parent 5a1a6b86a8
commit ba38de2212

View file

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