mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-09 09:00:34 +08:00
fixing left over .scope
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user