I would like that my icon would only be visible if my array[0] = 'Value' :
HTML
<ion-icon *ngIf="allFamily[0] = 'Value'" class="checkas" name="checkmark"></ion-icon>
TS
allFamily = [
{0: 'Value'}
]
But this isn't working, it shows ion-icon all the time. Note that 0: 'Value' I am adding after ion-icon shows up.