title: Filtering an Angular 1.2 ng-repeat with "track by" by a boolean property
body: <p>I'm trying to filter some list items based on the value of a boolean property, but no matter what I do the entire list is always displayed. A few of the the things I've tried have been so broken that nothing displays, but that's neither here nor there. I can't get my filtering working as desired:</p>
  
  <pre><code>$scope.attendees = [
       {"firstname":"Steve",    "lastname":"Jobs",  "arrived":true,  "id":1}
      ,{"firstname":"Michelle", "lastname":"Jobs",  "arrived":false, "id":2}
      ,{"firstname":"Adam",     "lastname":"Smith", "arrived":true,  "id":3}
      ,{"firstname":"Megan",    "lastname":"Smith", "arrived":false, "id":4}
      ,{"firstname":"Dylan",    "lastname":"Smith", "arrived":false, "id":5}
      ,{"firstname":"Ethan",    "lastname":"Smith", "arrived":false, "id":6}
  ];
  </code></pre>
  
  <p>Using the following ng-repeat filtering:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;li ng-repeat="person in attendees track by person.id | filter:arrived:'false'"&gt;
              {{person.lastname}}, {{person.firstname}}
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I feel like I've tried every permutation that I can find referenced, most of which came from various StackOverflow search results:</p>
  
  <ul>
  <li><code>filter:'arrived'</code></li>
  <li><code>filter:arrived</code></li>
  <li><code>filter:'person.arrived'</code></li>
  <li><code>filter:person.arrived</code></li>
  <li><code>filter:{arrived:true}</code></li>
  <li><code>filter:{arrived:'true'}</code></li>
  <li><code>filter:{person.arrived:true}</code></li>
  <li><code>filter:{person.arrived:'true'}</code></li>
  </ul>
  
  <p>I've also tried creating a custom filter function:</p>
  
  <pre><code>$scope.isArrived = function(item) {
      return item.arrived;
  };
  </code></pre>
  
  <p>And applying it thusly:</p>
  
  <ul>
  <li><code>filter:isArrived</code></li>
  <li><code>filter:'isArrived'</code></li>
  <li><code>filter:{isArrived(person)}</code></li>
  <li><code>filter:isArrived(person)</code></li>
  <li><code>filter:'isArrived(person)'</code></li>
  </ul>
  
  <p>None of these seems to work. What am I missing?</p>
  
  <p><a href="http://plnkr.co/edit/gitKALVXwFoQEe2RR7R6?p=preview">Here's a plnkr that demonstrates my problem</a>.</p>