title: ng-repeat too many iterations
body: <p>I am using angular-meteor and would like to perform a function on each object. I tried running this function within an ng-repeat in the view, but I am getting massive amounts of function calls and can't figure out why. I tried to make it as simple as possible to demonstrate what is going on.</p>
  
  <pre><code>constructor($scope, $reactive) {
      'ngInject';
      $reactive(this).attach($scope);
      this.loaderCount = 0;
  
      this.helpers({
          loaders() {
              return Loaders.find( {isloader:true}, {sort: { name : 1 } })
          }
      });
  </code></pre>
  
  <p>That gives me 26 Loaders.  My function just adds 1 to the count every time the function is called:</p>
  
  <pre><code>displayLoaderCount()
  {
      return ++this.loaderCount;
  }
  </code></pre>
  
  <p>Now in my view, I am looping through each loader, and calling the function. This should in my mind give me 26, but instead I am getting 3836.</p>
  
  <pre><code> &lt;tr ng-repeat="loader in loaderExhaustion.loaders"&gt;
          &lt;td&gt;{{loaderExhaustion.displayLoaderCount()}}&lt;/td&gt;
  </code></pre>
  
  <p>Can anyone help explain this to me? Ideally I would like to loop over the contents in my module but as the collection is async, when the loop starts the length of the collection is 0, hence why I made the call in the view.</p>
  
  <p>THANKS!</p>