Have this HTML:
<select ng-model="group" ng-options="g.key for g in groups"></select>
Although $scope.groups is map {'a':'', 'b':'', 'c':''}
I'd like select to display map keys: a,b,c
Currently it selects nothing.
How to change ng-options?\
UPDATE 1
g for g in Object.keys(groups) does not work either.