title: Angular, limitTo and track by $index
body: <p>I am trying to limit an object coming in by filtering (because there will be an option to show all eventually), however I am running into issues when trying to limitTo and track by index. Here is the code :</p>
  
  <pre><code> &lt;div ng-repeat="item in filter.values track by $index | limitTo:filterLimit" class="cengage-builder-result-filter-value" value="item" update-filter="updateFilter"&gt;
  </code></pre>
  
  <p>In the controller: </p>
  
  <pre><code>  $scope.filterLimit = 5;
  </code></pre>
  
  <p>It's saying I have dupes in the angular error so I'm thinking the track by $index isn't working here. Can't seem to find a proper way to do this, could use some help. Thanks!</p>