Trying to hide bullet point by ngIf but not working. How to declare an ngif value by concatenating If anyone knows, please help to find the solution.
app.component.html:
<mat-list>
<mat-list-item *ngFor="let season of seasons; index as i">
<span *ngIf="season.toLowerCase().split(' ').join('') + i" class="bullet"></span>
<p (click)="hides(season)" matLine>{{ season }}</p>
</mat-list-item>
</mat-list>