I'm developing an Angular app using the ngx tabs :
<div class="modal-body">
<tabset>
<tab heading="1"></tab>
<tab heading="2"></tab>
</tabset>
</div>
<div class="modal-footer>
<button *ngIf="Tab Selected = 1"> Save </button>
<button *ngIf="Tab Selected = 2"> Update </button>
</div>
I would like to know on the template which tab is selected, so I can show/hide the correct buttons.