mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +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(
|
||||
locals && locals.hasOwnProperty(key)
|
||||
? locals[key]
|
||||
: getService(key, path)
|
||||
: getService(key)
|
||||
);
|
||||
}
|
||||
if (!fn.$inject) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue