new(injector): new injector v2.0

- not connected to keep the CL small
This commit is contained in:
Misko Hevery
2011-10-31 15:33:52 -07:00
parent 4c10d33eb4
commit c925f8a657
6 changed files with 412 additions and 16 deletions

View File

@@ -487,7 +487,7 @@ describe("widget", function() {
}));
it('should be possible to nest ng:view in ng:include', inject(function() {
var injector = createInjector();
var injector = createInjector(angularService);
var myApp = injector('$rootScope');
var $browser = myApp.$service('$browser');
$browser.xhr.expectGET('includePartial.html').respond('view: <ng:view></ng:view>');