<divclass="transcript-container"*ngIf="(transcript$ | async) as transcript">
<div*ngIf="(loading$ | async)">
<divclass="speaker-container"*ngFor="let item of transcript | orderBy: 'time'; let i = index; trackBy: trackByFn"[ngClass]="item.speaker?.toLowerCase()">
<mat-progress-spinner></mat-progress-spinner>
</div>
<divclass="transcript-container"*ngIf="!(loading$ | async) && (transcript$ | async) as transcript">
<divclass="speaker-container"
*ngFor="let item of transcript | orderBy: 'time'; let i = index; trackBy: trackByFn"