mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-08 23:04:45 +00:00
fixing left over .scope
This commit is contained in:
parent
02aa7978d3
commit
8b2753eee2
1 changed files with 1 additions and 1 deletions
|
|
@ -976,7 +976,7 @@ function encodeUriSegment(val) {
|
||||||
function angularInit(config){
|
function angularInit(config){
|
||||||
if (config.autobind) {
|
if (config.autobind) {
|
||||||
// TODO default to the source of angular.js
|
// 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');
|
$browser = scope.$service('$browser');
|
||||||
|
|
||||||
if (config.css)
|
if (config.css)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue