I have a list of objects like this :
$scope.list = [ { id : 1, value : "one"},
{ id : 2, value : "two"},
{ id : 3, value : "three"} ];
I want it to output a list like this :
<select>
<option value="1">one</option>
<option value="2">two</option>
<option value="3">three</option>
</select>
What is the ng-options syntax required to do this?