<app-main></app-main>
<router-outlet></router-outlet>
<router-outlet>
<app-main>
засовывать компонент авторизации, при другом компонент личного кабинета.<component-with-router-outlet *ngIf="token"></component-with-router-outlet>
<component-with-router-outlet-for-login *ngIf="!token"></component-with-router-outlet-for-login>