title: Performance of ng-repeat
body: <p>I have an application with a code completion editor. When the user starts typing, an array <code>proposal</code> is created and displayed. The creation of the array goes very fast, almost instant. Worst case the array has a length of around 500 items.</p>
  
  <p>The problem is that the array constantly changes value as the user is typing. The rendering of the <code>ng-repeat</code> is taking about 1-2 seconds which is a huge delay during typing. I don't really understand why this is a problem, in terms of computing an array of 500 items is peanuts.</p>
  
  <p>I'd rather not limit the array because the user can scroll through it. Are there any other suggestions to speed things up? </p>
  
  <pre><code>&lt;li ng-repeat="proposal in proposals"  ng-dblclick="copyProposal()" ng-class="{selected : proposal.selected}"&gt;
      &lt;img src="assets/img/key.png" ng-show="proposal.isKey" class="icon"/&gt;
      {{proposal.text}} 
      &lt;span ng-show="proposal.type" class="detail"&gt;- {{proposal.type}}&lt;/span&gt;
  &lt;/li&gt;
  </code></pre>