Take a look at the code provided below:
I am attempting to access the index using {{@index}}
, but it doesn't seem to be compiling. I believe that handlebars should support this feature:
{{#each item in model}}
{{@index}}
{{item}}
{{/each}}
The above code is not working as expected for me. I am unsure whether {{@index}}
is actually supported or not.
The versions currently being used are:
- Ember.VERSION : 1.0.0
- Handlebars.VERSION : 1.0.0