I'm new to angular and I have the application root call multiple components, but on separate routes, I don't want to call all of the main components on the application root, just specific ones like a navbar and footer that should be loaded on every page.
app.component.html
<body>
<navbar-component></navbar-component>
<component-a></component-a> // when the a different route is hit (eg. /login), don't load
<component-b></component-b> // components a, b, c, but load the navbar and footer components
<component-c></component-c>
<router-outlet></router-outlet>
<footer-component></footer-component>
</body>