title: Multiple parameters angular filter inside ng-repeat
body: <p>I'm trying to make a filter inside a ng-repeat based on a custom filter that receives two parameters. At the same time, one of those parameters is one property of the object on the repeat.</p>
  
  <p>So in my ng-repeat code I have:</p>
  
  <pre><code>&lt;tr ng-repeat="player in myTeam | bitwiseAnd:{firstNumber: player.Flag, secondNumber: type}"&gt;
  </code></pre>
  
  <p>But it's not working. If I debug it, the filter is receiving in the first parameter undefined.</p>
  
  <p>I've read the documentation : <a href="https://docs.angularjs.org/guide/filter" rel="nofollow noreferrer">https://docs.angularjs.org/guide/filter</a></p>
  
  <p>I've read also multiple related questions in SO</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/13216115/filtering-by-multiple-specific-model-properties-in-angularjs">Filtering by Multiple Specific Model Properties in AngularJS (in OR relationship)</a></li>
  <li><a href="https://stackoverflow.com/questions/11753321/passing-arguments-to-angularjs-filters">Passing arguments to angularjs filters</a></li>
  <li><a href="https://stackoverflow.com/questions/16227325/how-do-i-call-an-angular-js-filter-with-multiple-arguments">How do I call an Angular.js filter with multiple arguments?</a></li>
  </ul>
  
  <p>Without success.</p>
  
  <p>I've created a plunker where we can see how the filter is working properly when I use it as an expression, so probably the problem is sending the values inside the ng-repeat statement.</p>
  
  <p>Here is the plunker: 
  <a href="http://plnkr.co/edit/IGvDBq?p=preview" rel="nofollow noreferrer">http://plnkr.co/edit/IGvDBq?p=preview</a></p>
  
  <p>Thanks for your time</p>