I have a dropdown list of objects. It's a person object that has a properties of id, firstName and lastName.
<select formControlName="person">
<option *ngFor='let person of persons" [ngValue]="person">{{person.firstName+' '+person.lastName}}</option>
</select>
Let' say I have an object person which I want to check if this person object I have is in the dropdownlist. If exist I want that object person to be the selected option /default value of the dropdown list.