I have the following structure in parent component app.component
<app-header></app-header>
<router-outlet></router-outlet>
<app-footer></app-footer>
in router-outlet the dynamic components are loaded (home, contact etc). I have a component called login, which is loaded with router-outlet. I have tried in many ways to make that when loading login remove app-header and app-footer but I can not find the form. How can I do it?