
<div class="knk-page-content">
  <ng-container *ngIf="menuItems.length">
    <div class="knk-page-content__nav">
      <nav class="knk-tab-nav" mat-tab-nav-bar>
        <ng-container *ngFor="let item of menuItems; first as isFirst; last as isLast">
          <ng-container *ngIf="item?.isVisible">
            <ng-container *ngIf="!item?.disabled"><a mat-tab-link [routerLink]="['/', lang].concat(item?.routAsArray)" routerLinkActive #rla="routerLinkActive" [active]="rla.isActive">{{item.translateKey|translate}}</a></ng-container>
          </ng-container>
        </ng-container>
      </nav>
    </div>
  </ng-container>
  <div class="knk-page-content__outlet">
    <router-outlet></router-outlet>
  </div>
</div>
<router-outlet name="knok"></router-outlet>