From b467a50bc75b7f4c0d9bcee521387eda460337bf Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 15 Nov 2010 12:15:27 -0800 Subject: generate keyword for searches; improved layout of doc --- src/Injector.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.3