Is there a way to access the parent scope from a partial using #each in Handlebars?
Main template:
(out of each = {{index}})<br>
{{#each someItem}}
(in each, but not on partial = {{../index}})
{{>part}}
{{/each}}
Partial:
<div class="part">
(in partial: {{itemName}} - {{../index}}) <!-- this is not working -->
</div>
Check out the issue in this Fiddle: http://jsfiddle.net/0o8jpxjh/