title: Filtering by Multiple Specific Model Properties in AngularJS (in OR relationship)
body: <p>Take a look at the example here:  <a href="http://docs.angularjs.org/api/ng.filter:filter" rel="noreferrer">http://docs.angularjs.org/api/ng.filter:filter</a></p>
  
  <p>You can search by any of the phone properties by using <code>&lt;input ng-model="search"&gt;</code> and you can search by just the name by using <code>&lt;input ng-model="search.name"&gt;</code>, and the results are appropriately filtered by name (typing in a phone number does not return any results, as expected).</p>
  
  <p>Let's say I have a model with a "name" property, a "phone" property, and a "secret" property, how would I go about filtering by <strong>both</strong> the "name" and "phone" properties and <strong>not</strong> the "secret" property?  So in essence, the user could type a name or phone number and the <code>ng-repeat</code> would filter correctly, but even if the user typed in a value that equaled part of a "secret" value, it wouldn't return anything.</p>
  
  <p>Thanks.</p>