Let's say I have a Controller like such:
function MockController($scope) {
$scope.objs = [{"a": "true"},{"b": "false"}];
$scope.Value = "";
}
In the html view I'd have something like:
<select class="input-block-level" ng-model="Value"
ng-options="(obj.key, obj.value) for obj in objs" required>
However, no matter how I try, angular doesn't seem to like the tuple notation. I tried without parenths and no dice. Is there a generic way to treat hashtables/dictionaries in ng-repeat? That is, assume you don't know the name of the key and they key itself should be used like such:
<option value={{obj.key}}>{{obj.value}}</option>