select input angular 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: drop down listing in angular form
<form [formGroup]="form" (ngSubmit)="submit()">
<label for="orders">Order</label>
<select formControlName="orders" id="orders">
<option *ngFor="let order of orders; let i = index" [value]="orders[i].id">
{{orders[i].name}}
</option>
</select>
<button>submit</button>
</form>