<nav mat-tab-nav-bar backgroundColor="primary">
  <ng-container *ngFor="let link of links">
    <a
      *ngIf="link.enabled"
      mat-tab-link
      [active]="activeLink == link.route"
      (click)="activeLink = link.route">
      {{ link.title }}
    </a>
  </ng-container>
</nav>
