I am looking to populate select option with values from a basic json array.
The example I have is a country select. Each country has an id element and a name plus other
The best way to populate a standard select(you can use angular-ui-select too) with objects is to use "ng-options" directive and "ng-repeat" using "track by id" (see AngularJS doc), this works well with ng-model. This is an example of how to use it:
I must say that "vm" is in case of "controllerAs" defined in the controller, if you use the $scope directly, you can remove the "vm".
This is the best way that I found to populate a select field.