angularjs - How to set a selected option of a dropdown list control
https://stackoverflow.com/questions/17968760/how-to-set-a-selected-option-of-a-dropdown-list-control-using-angular-js
WebIf item.selectedVariant has a value of 0, that item should get selected. If variants is an array of objects, item.selectedVariant must be set to one of those objects. I do not know which information you have in your scope, but here's an example: JS: $scope.options = [{ name: "a", id: 1 }, { name: "b", id: 2 }];
DA: 43 PA: 37 MOZ Rank: 9