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

Best way to represent a Grid or Table in AngularJS with Bootstrap 3? [closed]

After trying out ngGrid, ngTable, trNgGrid and Smart Table, I have come to the conclusion that Smart Table is by far the best implementation AngularJS-wise and Bootstrap-wise. It is built exactly the same way as you would build your own, naive table using standard angular. On top of that, they have added a few directives … Read more