How do I know what the first item in a ngRepeat loop is?
For example, I want to add a class to a div when it is the first of the loop.
Example:
<div ng-repeat="name in ['guilherme', 'wallace', 'bigown', 'rray']" ng-class="{'bol...
asked by
29.07.2016 / 16:53