angularjs - How to select option in select list Angular JS? -


i have select list reproduced ng-options:

<select  class="form-control" ng-options="i.id i.os_version in devices track i.id" ng-model="selected_version_os_to" ng-change="selectversionto(selected_version_os_to)"> </select> 

it generates options as:

<option label="10.3" value="1">10.3</option> 

how select option value == 1 or number?

i tried in select tag:

ng-selected="i.id == 1" 


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

java - How to implement an entity bound odata action in olingo v4.3 -