Here is what seems to be bothering a lot of people (including me).
When using the ng-options
directive in AngularJS to fill in the options for a &
The ng-options
directive does not set the value attribute on the
elements for arrays:
Using limit.value as limit.text for limit in limits
means:
set the
's label as
limit.text
save thelimit.value
value into the select'sng-model
See Stack Overflow question AngularJS ng-options not rendering values.