ngfor dropdown code example
Example 1: ngfor select angular
<select [(ngModel)]="passenger.Title">
<option *ngFor="let title of titleArray" [value]="title.Value">
{{title.Text}}
</option>
</select>
Example 2: use ngfor to make a dropdown in angular from array
<select [(ngModel)]="selected">
<option *ngFor="let person of people" [ngValue]="person">{{person.name}}</option>
</select>
<div class='show-info'></div>