<ng-container *ngIf="selectedPlayer; else infoText">
<div *ngFor="let playerEL of players">
[playersTEST]="playerEL"
(playerWasSelected)="onPlayerSelected(playerEL)">
</div>
</ng-container>
</app-stats>
What is the correct way of doing this?