SidenavComponent => selector: 'app-sidenav'
displays in the browser as:
<app-sidenav _ngcontent-yai-42="" _nghost-yai-45="">
...
</app-sidenav>
Works:
Take the code out of the component template and just put it within the DIV of the parent component.
This removes the <app-sidenav> outter tags.
This causes the layout to be hidden and not displayed in the browser.
Any suggestions?