I would like to hide my layout on my login/register pages, but I'm not sure how to do it properly. I don't want to use an overlay on those pages to cover the layout, and I don't think it should be done by asking what route it is and hiding the elements if certain route is hit.
My layout component:
<div class="body-wrapper">
<div class="content">
<app-header></app-header>
<router-outlet></router-outlet>
</div>
</div>
So, I need my router outlet to display only login component and not the other html.