Angular2 provides several exported values that can be aliased to local variables. These are:
index
first
last
even
odd
Except index, the other ones take a Boolean value. As the previous example using index, it can be used any of these exported values:
<div *ngFor="let item of item...