I am working on a angular 4 application and I want load login.page.ts outside of the router-outlet
this is my home.component.html file
<div class="container">
<top-nav-bar></top-nav-bar>
<lett-nav-bar></lett-nav-bar>
<router-outlet></router-outlet>
</div>
routes configs
const MAINMENU_ROUTES: Routes = [
{ path: 'login', component: LoginComponent },
{ path: '', redirectTo: 'home', pathMatch: 'full'},
{ path: 'home', component: HomeComponent, canActivate: [AuthGuard]}
];
with this, I can load login page inside the router but I want to load login page in full screen before coming to the router-outlet.