ng-options with simple array init
You actually had it correct in your third attempt. <select ng-model=”myselect” ng-options=”o as o for o in options”></select> See a working example here: http://plnkr.co/edit/xEERH2zDQ5mPXt9qCl6k?p=preview The trick is that AngularJS writes the keys as numbers from 0 to n anyway, and translates back when updating the model. As a result, the HTML will look incorrect but … Read more