title: Get index in a for...of directive in Angular 2
body: <p>As of now, is there a way to get the current index of the iterable in a <code>for..of</code> directive in Angular 2? In others words, the equivalent of <code>$index</code> in Angular.js v1...</p>
  
  <p>Example of code:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;ul *for="#task of allTasks"&gt;
      &lt;li&gt;{{ $index}} - {{ task.label }}&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>(of course this code does not work, it does not provide the current index)</p>