title: Is it possible to set a second ng-model value on an item?
body: <p>I am trying to filter an angular-datatable. The search box by default searches all of the values in ng-model and filters the table accordingly.</p>
  
  <p>I need to store the ID of the select list in the database but I want to search by the Name displayed on the list:</p>
  
  <pre><code> &lt;tbody&gt;
      &lt;tr ng-repeat="waiver in model.waivers | filter:model.searchValue"&gt;
          &lt;td&gt;&lt;select ng-model="waiver.CarrierID" ng-options="carrier.Key as carrier.Value for carrier in model.Carriers" ng-change="UpdateLists(waiver)"&gt;&lt;/select&gt;&lt;/td&gt;
          &lt;td&gt;&lt;select ng-model="waiver.CategoryID" ng-options="category.Key as category.Value for category in model.Categories"&gt;&lt;/select&gt;&lt;/td&gt;
          //Several more TD's with selectLists etc
      &lt;/tr&gt;
  &lt;/tbody&gt;
  </code></pre>
  
  <p>When I put 1234 in the search box then It filters to one carrier. What I want to do is put UPS in the box and have it filter to that.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>I have now added The carrier name to the model so waiver.CarrierName has the value I want to search by. I am still unable to get it to narrow the results by that value:</p>
  
  <pre><code>&lt;td style="display:none"&gt;&lt;input type="hidden" ng-model="waiver.CarrierName" /&gt;
  </code></pre>
  
  <p>With that it still can't find just the data associated to UPS.  If I search any of the non select list values it shrinks the table to the correct data.</p>