title: angular js filter with array of id's
body: <blockquote>
    <p>span class="list-group-item" ng-click="filterByCtg = {ctgid:'12'}">category</p>
    
    <p>div ng-repeat="product in products | filter:search | filter:filterByCtg  |orderBy:orderByFilter:reverse"> </p>
  </blockquote>
  
  <p>I want to give filterByCtg an array of id's that are sub categories and sub sub categories.
  how can i achieve this? </p>
  
  <p>the filter doesnt work when im giving it an array.</p>
  
  <p>sorry for bad engish.</p>