From de6cc287e51dcdd91c63d7427dbdc28cae111ad5 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 8 Jan 2013 14:36:03 -0800 Subject: [PATCH] fix($injector): remove bogus fn arg getService fn takes only one argument, removing the second one. Closes #1711 --- src/auto/injector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto/injector.js b/src/auto/injector.js index cd47daa67f14..2628725325a5 100644 --- a/src/auto/injector.js +++ b/src/auto/injector.js @@ -557,7 +557,7 @@ function createInjector(modulesToLoad) { args.push( locals && locals.hasOwnProperty(key) ? locals[key] - : getService(key, path) + : getService(key) ); } if (!fn.$inject) {