ngfor select option ng-select angular 10 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: ng select
npm install --save @ng-select/ng-select