Home Angular How to use *ngFor the condition in Angular for select option element. Select the first or last element in For loop -Angular