I'm trying to create a tab component using bootstrap.
<app-tabs>
<app-tab [label]="'label1'">Description 1</app-tab>
<app-tab [label]="'label2'">Description 2</app-tab>
</app-tabs>
I had a look at this article: https://juristr.com/blog/2016/02/learning-ng2-creating-tab-component/ but my use case is different.
I need to use a different <ng-content>
in each loop of the for.
This is my plunker: https://plnkr.co/edit/N2p8Vx?p=preview
It prints both descriptions in the second tab, leaving the first one empty.
Appreciate any help!