title: Filter ng-repeat using associative array
body: <p>So I have an associative array (or object to be more precise)</p>
  
  <pre><code>$scope.items = { 'x': {...}, 'y': {...} };
  </code></pre>
  
  <p>I want to do an ng-repeat which works fine</p>
  
  <pre><code>&lt;div ng-repeat="(id, data) in items | filter: customFunction" &gt;
  </code></pre>
  
  <p>However the filter doesn't seem to be working, its defined as</p>
  
  <pre><code>$scope.customFunction = function (item) { return item.status === 'active'; }
  </code></pre>
  
  <p>However the filter is not working. I always get the whole set independently of what the filter is. Calling an alert inside the filter controller doesn't even show up. Seems like the function is not being called at all.</p>
  
  <p>Before I was iterating through an array and it was working fine:</p>
  
  <pre><code>$scope.items = [ {...}, {...} ];
  &lt;div ng-repeat="item in items | filter: customFunction" &gt;
  </code></pre>
  
  <p>I didn't include my logic for simplicity, I have some filtering logic rather than just return false.</p>