<input type="text" ng-model= "name" title="{{name}}">
//this title displays the name that is contained in ng-model
Similarly...
<select title ="{{item.actionId}}" ng-model="item.actionId">
<option ng-repeat="action in actionList" value="{{action.ACTION_ID}}">{{action.URL}}</option>
</select>
List of Actions:
$scope.actionList = [{
"ACTION_ID": 39,
"URL": "/abc"
}, {
"ACTION_ID": 59,
"URL": "/xyz"
}];
In this case, item
represents the parent list. The title displayed is its ID as the value is the ID. However, we want to retrieve the corresponding URL. How can we do that?