title: How can I filter multiple property based on one input model in angularjs
body: <p>Says we have a search input which filters data by two properties: name and id</p>
  
  <pre><code>&lt;input ng-model="query.name"&gt;
  &lt;input ng-model="query.id"&gt;
  
  &lt;div ng-repeat="item in items | filter:query"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>How can I do this in one simple input ng-model</p>
  
  <p>Thanks in advance</p>