Does anyone know why in AngularJS, the select
selector doesn't work without the ng-model
?
<select ng-model="bla_bla" ng-options="obj.value as obj.key for obj in languages"/>
<select ng-options="obj.value as obj.key for obj in languages"/>
The first line of code above will work while the second one will not work. Why ???
Thanks!
ng-model
with a dummy variable. – Amsterdam