in this post they are configuring auxiliary routes but not at the top-level. I would like to configure the opposite, that is multiple routes at the top level. My main goal is to show a complete overlay (login page) on top of the normal application page.
Imagine I have the following html:
<div class="wrapper" *ngIf="mainRouterOutlet">
<div header></div>
<div sidebar></div>
<div class="content-wrapper">
<router-outlet></router-outlet>
</div>
<div footer></div>
</div>
<div *ngIf="!mainRouterOutlet">
<router-outlet name="outside"></router-outlet>
</div>
Is it possible to have a route '/login' that uses the outside router-outlet and ignores the default one? Is it possible to know what router is active, so I could hide the wrapper class with an ngIf directive and only the outside router-outlet is active.