aboutsummaryrefslogtreecommitdiffstats
path: root/src/Angular.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/Angular.js')
-rw-r--r--src/Angular.js2
1 files changed, 1 insertions, 1 deletions
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);