I have the following child component and its parent inheritance component:
@Component({ template: `<p>child</p>` }) export class EditChildComponent extends EditViewComponent{ constructor(){ super(); } } @Component({ template: `<p>parent</p>` }) export class EditViewComponent{ constructor(){ } }
Is it now possible to place the EditViewComponent template in the ChildComponents template, as with ng-content in nested components? How to get the following result:
<p>parent</p> <p>child</p>
source share