title: Dynamic limitTo filter in ng-repeat
body: <p>I'm passing an parameter into a directive. It is the number that needs to be used on the <code>limitTo</code> filter for an <code>ng-repeat</code></p>
  
  <pre><code>&lt;tr ng-repeat="trans in transactions | limitTo:limit = limit &gt; 0 ? limit : 100000"&gt;
  </code></pre>
  
  <p>It is possible that the directive won't need an upper limit. I could easily do what I have listed above, but I don't like the fixed upper-limit. Granted in my case it would never be hit, but it feels sloppy. </p>
  
  <p>Does anyone have a more elegant solution?</p>