title: Ember Handlebars iterating over global javascript array
body: <p>I have an array:
  var eventTypes = [{name: x, value: y}, ... {...}...];
  and I'm trying to iterate over this with handlebars.
  I've tried</p>
  
  <pre><code>{{#each eventTypes
  {{/each}}
  </code></pre>
  
  <p>but no luck. so, how can I iterate over a javascript array?</p>
  
  <p>FIX: 
  Made an Array controller that held the array within it.</p>
  
  <pre><code>Blocks.EventTypesController = Em.ArrayController.extend({
  content: eventTypes // controller eventTypes = global eventTypes
  });
  </code></pre>