Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix($injector): remove bogus fn arg
Browse files Browse the repository at this point in the history
getService fn takes only one argument, removing the second one.

Closes #1711
  • Loading branch information
IgorMinar committed Jan 8, 2013
1 parent 5b5f35d commit b6b7c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto/injector.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ function createInjector(modulesToLoad) {
args.push(
locals && locals.hasOwnProperty(key)
? locals[key]
: getService(key, path)
: getService(key)
);
}
if (!fn.$inject) {
Expand Down

0 comments on commit b6b7c5a

Please sign in to comment.