title: Access properties of the parent with a Handlebars 'each' loop
body: <p>Consider the following simplified data:</p>
  
  <pre><code>var viewData = {
      itemSize: 20,
      items: [
          'Zimbabwe', 'dog', 'falafel'
      ]
  };
  </code></pre>
  
  <p>And a Handlebars template:</p>
  
  <pre><code>{{#each items}}
      &lt;div style="font-size:{{itemSize}}px"&gt;{{this}}&lt;/div&gt;
  {{/each}}
  </code></pre>
  
  <p>This won't work because within the <code>each</code> loop, the parent scope is not accessible -- at least not in any way that I've tried. I'm hoping that there's a way of doing this though!</p>