<div class="d-flex flex-column">
  <div class="permissions-list" *ngIf="employee.permissions">
    <p>Permissions</p>
    <ng-container *ngTemplateOutlet="permissionsList; context:{permissions: permissions}"></ng-container>
  </div>
</div>

<ng-template #permissionsList let-permissions="permissions">
  <mat-chip-list>
    <mat-chip *ngFor="let permission of permissions">{{permission}}</mat-chip>
  </mat-chip-list>
</ng-template>
