We have a root component that contains the base layout of a page. ie Header, foot, sidebar and main content
<main class="content">
<router-outlet></router-outlet>
</main>
Based on a route, we are looking for a way to push components into the side bar, possibly by using templates? ie, template place holder within the root component, and pass a template in using :-
<ng-template #sidepanel>
<div>here is the side panel content </div
tried to google, but only finding ways to pass from parent to child.