mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-04 13:14:49 +00:00
fix($injector): remove bogus fn arg
getService fn takes only one argument, removing the second one. Closes #1711
This commit is contained in:
parent
afd6771163
commit
de6cc287e5
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ function createInjector(modulesToLoad) {
|
||||||
args.push(
|
args.push(
|
||||||
locals && locals.hasOwnProperty(key)
|
locals && locals.hasOwnProperty(key)
|
||||||
? locals[key]
|
? locals[key]
|
||||||
: getService(key, path)
|
: getService(key)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (!fn.$inject) {
|
if (!fn.$inject) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue