I am trying to use named outlets. In app.routes I have the following path.
{ path: 'home', component: HomeComponent, outlet: 'home' }
app.component.html contains
<router-outlet name="home"></router-outlet>
<router-outlet></router-outlet>
The home outlet never displays the home component. If I remove the outlet name from the router path the unnamed outlet will show the HomeComponent. I am using the latest Angular 2. Any idea why the named outlet doesn't work?
[UPDATE] Here is working plunkr, you only need to look into app.comoponent.ts . If you click the links to Crisis Center or Hereos I would expect the navigated components to appear inside the red named outlet zone?
https://plnkr.co/edit/l2Li0sLbbEIRZCppRlvF?p=preview
Thanks for your help!