aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaitlin Potter2013-09-30 18:56:41 -0400
committerBrian Ford2013-09-30 17:26:00 -0700
commitba38de2212261ed6484625d364a99d803d57f535 (patch)
tree9f46f174dd6724d51f0c6d54d9d9b04a20c82f78
parent5a1a6b86a8dbcd8aa4fe9c59fad8d005eead686c (diff)
downloadangular.js-ba38de2212261ed6484625d364a99d803d57f535.tar.bz2
docs($injector): Reword `fn` param docs and link to DI information
-rw-r--r--src/auto/injector.js3
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.