Delimited
Delimited Developer notes

Why AngularJS selects the wrong option for an equivalent object

An option and the model can contain the same values and still be different objects.

AngularJS uses object identity to match a select model to an option unless you tell it how to track the options. Two separate objects can both have id: 2 and name: "Ada". Without a tracking key, that equality in the data does not make the objects interchangeable.

Track the object by its ID

<select ng-model="chosen"
        ng-options="person.name for person in people track by person.id">
</select>

Give each row a stable, unique ID and make sure the model has the same property. Use the same type on both sides. An ID read as the string "2" can conflict with choices loaded as numbers.

Or keep only the ID in the model

<select ng-model="chosenId"
        ng-options="person.id as person.name for person in people">
</select>

Here the model holds the ID, so initialise it with a value such as 2. The AngularJS ngOptions reference documents the difference between binding a selected value and tracking an object.