Ember.js Tip - Getting index in handbars loop

Just a quick tip for Ember.js handbars templates.

To return the current index we can use the _view.contentIndex variable from within an each loop.

Quick Example:

{{#each result in calculation-results}}
  Index: {{_view.contentIndex}}
{{/each}}