diff options
| author | Caitlin Potter | 2013-09-30 18:56:41 -0400 |
|---|---|---|
| committer | Brian Ford | 2013-09-30 17:26:00 -0700 |
| commit | ba38de2212261ed6484625d364a99d803d57f535 (patch) | |
| tree | 9f46f174dd6724d51f0c6d54d9d9b04a20c82f78 /src/auto | |
| parent | 5a1a6b86a8dbcd8aa4fe9c59fad8d005eead686c (diff) | |
| download | angular.js-ba38de2212261ed6484625d364a99d803d57f535.tar.bz2 | |
docs($injector): Reword `fn` param docs and link to DI information
Diffstat (limited to 'src/auto')
| -rw-r--r-- | src/auto/injector.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js index 96ea0bf4..03e8025f 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -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. |
