<option *ngFor="let value of filterItem.values" [(value)]="value.code" [selected]="value.default_ind" required>{{value.displayName}}</option>
I have this option. Every of this records have default_ind: 1,2,3,4... I want to always select options with largest default_ind. Any suggestion how can i do that?