I'm new to angular and I'm trying to create a website.
I have my nav bar and side bar that is a single component, but I would like to have inside my navbar/sidebar component the components that represent a page.
so everytime I navigate to a page I load that page component, and that page component has the "always the same nav bar/side bar" and inside the navbar we have the specific component.
does this makes sense? is it possible?
the dumb solution is to copy the navigation code to each component which represents the page, in order i can have the nav bar in all "pages". but if you need to change something you need to change everywhere.