From 8b2753eee29e54b33bbfd4c759ba162c7d3faf89 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 3 Mar 2011 23:14:10 -0800 Subject: fixing left over .scope --- 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 0800bca4..00188d6f 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -976,7 +976,7 @@ function encodeUriSegment(val) { function angularInit(config){ if (config.autobind) { // TODO default to the source of angular.js - var scope = compile(window.document)(createScope({'$config':config})).scope, + var scope = compile(window.document)(createScope({'$config':config})), $browser = scope.$service('$browser'); if (config.css) -- cgit v1.2.3