title: Create a for loop that will iterate a certain number of times in Ember-CLI
body: <p>I am in a situation in which I would like to be able to have a component or helper that would allow me to iterate a number of times and output the enclosed block each time.  Something like this:</p>
  
  <pre><code>{{#incremented-for 2}}
      block to output
  {{/incremented-for}}
  </code></pre>
  
  <p>I tried to set this up as a component, but was not able to figure out a way to make it work.  I also tried to set it up as a helper, and was able to find some code that seems like it should work:</p>
  
  <pre><code>export function incrementedFor(n, block) {
      var accum = '';
      for(var i = 0; i &lt; n; ++i)
          accum += block.fn(i);
      return accum;
  }
  
  export default Ember.Handlebars.makeBoundHelper(incrementedFor);
  </code></pre>
  
  <p>but i get an error that says:</p>
  
  <pre><code>Uncaught Error: Assertion Failed: registerBoundHelper-generated helpers do not support use with Handlebars blocks.
  </code></pre>
  
  <p>Does anyone have any thoughts as to why this approach might not be working or, even better, a better way to do this in Ember-cli?</p>