I have an array of tranTypes (transaction types) that are loaded into a dropdown. After the user selects a value and navigates to another component upon return
From 4.0.0-beta.6 on, you can use a custom comparison function
equals(o1: Country, o2: Country) {
return o1.id === o2.id;
}
for earlier versions you can look up the tranType in tranTypes by comparing content similar to above equals, and then assign the found instance to model.tranType to make it the selected one.