mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 11:37:38 +08:00
new(injector): new injector v2.0
- not connected to keep the CL small
This commit is contained in:
@@ -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>');
|
||||
|
||||
Reference in New Issue
Block a user