When you do component inheritance in angular like
export class ChildComponent extends ParentComponent{}
You can get all the logic from the ParentComponent, but you have to implement the entire html again.
Say my ParentComponent's html looks like this
<div class="card">
<div class="header"></div>
<div class="content"></div>
<div class="footer"></div>
</div>
Is there a way I can "implement" the parent component where the child component view sort of implements only the "content" div?
for example
@Component({
template:`<div class="content-of-child">...</div>`
})
export class ChildComponent extends ParentComponent{}
so that the result will be
<div class="card">
<div class="header"></div>
<div class="content-of-child"></div>
<div class="footer"></div>
</div>