access to the index of item in *ngFor
<p>I have a loop in my html page. The code is:</p>

<pre><code>&lt;li *ngFor="let item of items" style="display: inline;"&gt;    
    &lt;div class="col-lg-3 col-md-4 col-xs-6 thumb"&gt;
           &lt;a class="thumbnail" [routerLink]="['/single-picture/:comment', {comment:item.index} ]"&gt;
                &lt;img  [src]=item.images.low_resolution.url&gt;
           &lt;/a&gt;
    &lt;/div&gt;       
&lt;/li&gt;
</code></pre>

<p>In the line <code>&lt;a class="thumbnail" [routerLink]="['/single-picture/:comment', {comment:item.index} ]"&gt;</code></p>

<p><strong>I want to pass the index of current item in the loop.</strong></p>

<p>How can i do it?</p>