diff options
| author | Misko Hevery | 2010-11-15 12:15:27 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2010-11-15 12:28:08 -0800 | 
| commit | b467a50bc75b7f4c0d9bcee521387eda460337bf (patch) | |
| tree | 3360037c664cda94bc683663a9a7afe9df46eeb8 /src/Injector.js | |
| parent | a1652057a5e1fce1911b118a5d43629abe772ab6 (diff) | |
| download | angular.js-b467a50bc75b7f4c0d9bcee521387eda460337bf.tar.bz2 | |
generate keyword for searches; improved layout of doc
Diffstat (limited to 'src/Injector.js')
| -rw-r--r-- | src/Injector.js | 5 | 
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.     */  | 
