fixing left over .scope

This commit is contained in:
Igor Minar 2011-03-03 23:14:10 -08:00
parent 02aa7978d3
commit 8b2753eee2

View file

@ -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)