title: How to filter by boolean expression accessing variable from controller inside a ng.repeat filter?
body: <p>How do I filter by a boolean expression from a variable that is declared in the controller?</p>
  
  <p>something like this:</p>
  
  <pre><code>&lt;div ng-repeat="user in users | filter:{someVarFromController==true}"&gt;
      &lt;div&gt;
        {{user.name}}
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I manage it to work only then the expression is using the collection property
  ex:</p>
  
  <pre><code>&lt;div ng-repeat="user in users | filter:{IsDomestic: true}"&gt;
  </code></pre>