title: angularjs ng-repeat filter based on array values on click
body: <p>I have an array <code>$scope.something = ['xyz','abc','pqr'];</code></p>
  
  <p>On click, I want to filter the <code>ng-repeat</code> data so that it will return the resulting JSON data filtered with <code>'xyz'</code>, <code>'pqr'</code>, and <code>'abc'</code>. </p>
  
  <p><code>ng-repeat="data in flt_det | filter:something"</code>.</p>
  
  <p>Thanks in advance.</p>