chore(scope): remove $service

This commit is contained in:
Misko Hevery 2011-11-08 20:31:22 -08:00
parent 9c06394376
commit b3c17f3fdc

View file

@ -635,10 +635,7 @@ function $RootScopeProvider(){
}
};
// TODO(misko): remove this;
var scope = new Scope();
scope.$service = $injector;
return scope;
return new Scope();
function compileToFn(exp, name) {
var fn = $parse(exp);