Angular: ngClass option based on $index of ngRepeat

Author: Julian Hansen