I have a select box with a list of Employees. when i select one it is sending the string value to the controller. I need to pass the Id of the selected name, not the name value itself. plunker
<label>CustomerPM:</label>
<select style="width: 150px" ng-options="customer.CustomerEmployeeFirstName + ' ' + customer.CustomerEmployeeLastName as customer.CustomerEmployeeFirstName + ' ' + customer.CustomerEmployeeLastName for customer in customerEmployeeArray | filter:{CustomerEmployeeRole : 'PM', CustomerId : currentItem.CustomerId}" ng-model="currentItem.CustomerEmployeePMId">
<option value="" selected="selected">Select</option>
</select><br />
{{currentItem.CustomerEmployeePMId}}<br />
<label>CustomerSuper:</label>
<select style="width: 150px" ng-options="customer.CustomerEmployeeFirstName + ' ' + customer.CustomerEmployeeLastName as customer.CustomerEmployeeFirstName + ' ' + customer.CustomerEmployeeLastName for customer in customerEmployeeArray | filter:{CustomerEmployeeRole : 'Super', CustomerId : currentItem.CustomerId} " ng-model="currentItem.CustomerEmployeeSuperId">
<option value="" selected="selected">Select</option>
</select><br />
{{currentItem.CustomerEmployeeSuperId}}<br/>