Skip to content

Instantly share code, notes, and snippets.

@James1x0
Created January 5, 2015 21:29
Show Gist options
  • Save James1x0/9c533debce09c52e9160 to your computer and use it in GitHub Desktop.
Save James1x0/9c533debce09c52e9160 to your computer and use it in GitHub Desktop.
Index from itemController
{{#each foo in content}}
foo{{foo.fooIndexComputed}}
{{#each bar in foo.bar}}
bar{{bar.barIndexComputed}} of foo{{foo.fooIndexComputed}}
{{/each}}
{{/each}}
<!--
foo0
bar0 of foo0
bar1 of foo0
foo1
bar0 of foo1
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment