Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit ba38de2

Browse files
Caitlin Potterbtford
Caitlin Potter
authored andcommittedOct 1, 2013
docs($injector): Reword fn param docs and link to DI information
1 parent 5a1a6b8 commit ba38de2

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)
This repository has been archived.