<div class="card" [ngSwitch]="type?.name">
  <cards-item-persons *ngSwitchCase="'cards-section-persons'" [card]="card"></cards-item-persons>
  <cards-item-partners *ngSwitchCase="'cards-section-partners'" [card]="card"></cards-item-partners>
  <p *ngSwitchDefault>{{type?.name}} is undefined</p>
</div>
