From b2631f61709ae71bb29ec6f1353f2a3c1ad33cd3 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Tue, 4 Jan 2011 11:53:23 -0800 Subject: rename scope.$inject to scope.$service see changelog diff for more info --- src/Angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Angular.js') diff --git a/src/Angular.js b/src/Angular.js index 991598e1..96d478f3 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -947,7 +947,7 @@ function angularInit(config){ if (config.autobind) { // TODO default to the source of angular.js var scope = compile(window.document, _null, {'$config':config}), - $browser = scope.$inject('$browser'); + $browser = scope.$service('$browser'); if (config.css) $browser.addCss(config.base_url + config.css); -- cgit v1.2.3