I want my static menu to be inside my both children components, how to achieve that?
I tried with ng-template
, ng-content
, ng-container
, ngTemplateOutlet
directives but I didn't find an example that works with router-outlet
.
I don't want to duplicate my menu in children.