how can I get the value of selected drop down (1,2 or 3)? my js as below
$scope.priority = [
{
"level":"Urgent",
"index":1
},
{
"level":"Very Important",
"index":2
},
{
"level":"Important",
"index":3
}
];
html
<select class="btn btn-priority" ng-options="p.level for p in priority">
<option value="">priority</option>
</select>