Which is the best approach to show a navbar in my Angular App?
For now i've added my nav-bar component at top of app.component.html and by subscribing to a service i'm setting if some items in navbar should or shouldn't be visible..
My app.component.html looks like this:
<app-top-bar></app-top-bar> // navbar
<div class="container px-0 px-sm-3">
<router-outlet></router-outlet>
</div>
But at this point i had a doubt if it was better to include app-top-bar in each component and just pass to it as input if the items should or shouldn't be visible in it..