make directive to return dropdown values angular

JavaScript
<select (change)="onChange($event)">
    <option *ngFor="let v of values" [value]="v.id">{{v.name}}</option>
</select>

Source

Also in JavaScript: