aboutsummaryrefslogtreecommitdiffstats
path: root/src/Injector.js
diff options
context:
space:
mode:
authorMisko Hevery2010-11-15 12:15:27 -0800
committerMisko Hevery2010-11-15 12:28:08 -0800
commitb467a50bc75b7f4c0d9bcee521387eda460337bf (patch)
tree3360037c664cda94bc683663a9a7afe9df46eeb8 /src/Injector.js
parenta1652057a5e1fce1911b118a5d43629abe772ab6 (diff)
downloadangular.js-b467a50bc75b7f4c0d9bcee521387eda460337bf.tar.bz2
generate keyword for searches; improved layout of doc
Diffstat (limited to 'src/Injector.js')
-rw-r--r--src/Injector.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Injector.js b/src/Injector.js
index 554e9089..3e4058ac 100644
--- a/src/Injector.js
+++ b/src/Injector.js
@@ -19,8 +19,9 @@ function createInjector(providerScope, providers, cache) {
* string: return an instance for the injection key.
* array of keys: returns an array of instances.
* function: look at $inject property of function to determine instances
- * and then call the function with instances and scope. Any
- * additional arguments are passed on to function.
+ * and then call the function with instances and `scope`. Any
+ * additional arguments (`args`) are appended to the function
+ * arguments.
* object: initialize eager providers and publish them the ones with publish here.
* none: same as object but use providerScope as place to publish.
*/