angular mat-option code example
Example 1: how to add dropdown with filter in angular material
<mat-autocomplete #auto="matAutocomplete">
<mat-option *ngFor="let option of options" [value]="option">
{{option}}
</mat-option>
</mat-autocomplete>
Example 2: select in mat-option
<mat-select [(value)]="selected2">