I have the following code to create a list of radio buttons.
<ul class="bankUl">
<li *ngFor="let optie of vraag.opties; let i = index" class="{{i}}">
<label class="image-radio">
<input type="radio" name="fb" value="{{i}}" [(ngModel)]="_quizService.tmpBank" />
<img [attr.src]="settings.imagePath + '/banken/' + optie.image" alt="{{optie.name}}">
</label>
</li>
</ul>
Now in my component I have an array like so
var arr = [1,2,3,4]
Now I want to make it so that every li class that is in the array gets hidden. but I dont know where to start. Anyone has an idea?