From ba38de2212261ed6484625d364a99d803d57f535 Mon Sep 17 00:00:00 2001 From: Caitlin Potter Date: Mon, 30 Sep 2013 18:56:41 -0400 Subject: docs($injector): Reword `fn` param docs and link to DI information --- src/auto/injector.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3