Skip to content

Commit 615ccdd

Browse files
Caitlin Potterjamesdaily
Caitlin Potter
authored andcommitted
docs($injector): Reword fn param docs and link to DI information
1 parent 50320c9 commit 615ccdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/auto/injector.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ function annotate(fn) {
147147
* @description
148148
* Invoke the method and supply the method arguments from the `$injector`.
149149
*
150-
* @param {!function} fn The function to invoke. The function arguments come form the function annotation.
150+
* @param {!function} fn The function to invoke. Function parameters are injected according to the
151+
* {@link guide/di $inject Annotation} rules.
151152
* @param {Object=} self The `this` for the invoked method.
152153
* @param {Object=} locals Optional object. If preset then any argument names are read from this object first, before
153154
* the `$injector` is consulted.

0 commit comments

Comments
 (0)