Is possible to create a login page with a html completely different of main html in angular2? If possible, how?
UPDATE
My app template currently is:
<div class="loading"></div>
<header></header>
<section id="main">
...
<router-outlet></router-outlet>
...
</section>
<footer></footer>
This is the common html for all my components, except login.
The login component have a completely different html but i dont know how to introduce it here hidding the loading, header, section and footer.
I did it inserting another <router-outlet> at end and I controlling both routers with ng-if but I dont know if this is a good practice
Any clue?