I need to create a component, where you don't have the navigation on top included, but I don't know how. I read, that every component you create is a child component of the appcomponent. In the app.component.html
it is definded, that the navigation is on top and then comes the content. Also the component needs to be accessed over a route defined in app-routing.module.ts
. Can anyone help?
app.component.html
:
<app-navigation></app-navigation>
<div id="content">
<router-outlet></router-outlet>
</div>