feat(view): allow to transplant a view into a ViewContainer at another place.
Closes #1492.
This commit is contained in:
2
modules/angular2/src/router/router_outlet.js
vendored
2
modules/angular2/src/router/router_outlet.js
vendored
@ -37,7 +37,7 @@ export class RouterOutlet {
|
||||
]);
|
||||
|
||||
this._viewContainer.clear();
|
||||
this._viewContainer.create(pv, 0, outletInjector);
|
||||
this._viewContainer.create(pv, 0, null, outletInjector);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user