title: How to improve performance of ngRepeat over a huge dataset (angular.js)?
body: <p>I have a huge dataset of several thousand rows with around 10 fields each, about 2MBs of data. I need to display it in the browser. Most straightforward approach (fetch data, put it into <code>$scope</code>, let <code>ng-repeat=""</code> do its job) works fine, but it freezes the browser for about half of a minute when it starts inserting nodes into DOM. How should I approach this problem?</p>
  
  <p>One option is to append rows to <code>$scope</code> incrementally and wait for <code>ngRepeat</code> to finish inserting one chunk into DOM before moving to the next one. But AFAIK ngRepeat does not report back when it finishes "repeating", so it's going to be ugly.</p>
  
  <p>Other option is to split data on the server into pages and fetch them in multiple requests, but that's even uglier.</p>
  
  <p>I looked through Angular documentation in search of something like <code>ng-repeat="data in dataset" ng-repeat-steps="500"</code>, but found nothing. I am fairly new to Angular ways, so it is possible that I am missing the point completely. What are the best practices at this?</p>