diff options
| author | Igor Minar | 2013-01-08 14:36:03 -0800 |
|---|---|---|
| committer | Igor Minar | 2013-01-08 14:36:03 -0800 |
| commit | b6b7c5a1d66073937709158da8c2d688cb45c9f6 (patch) | |
| tree | 5e7c3726b4d49947dd03f7e25ee56164013510b5 /src/auto | |
| parent | 5b5f35d5e41a5930f7a685a02d0d20b8585a1420 (diff) | |
| download | angular.js-b6b7c5a1d66073937709158da8c2d688cb45c9f6.tar.bz2 | |
fix($injector): remove bogus fn arg
getService fn takes only one argument, removing the second one.
Closes #1711
Diffstat (limited to 'src/auto')
| -rw-r--r-- | src/auto/injector.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auto/injector.js b/src/auto/injector.js index bdc82da5..24f2f0af 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -556,7 +556,7 @@ function createInjector(modulesToLoad) { args.push( locals && locals.hasOwnProperty(key) ? locals[key] - : getService(key, path) + : getService(key) ); } if (!fn.$inject) { |
