<li ng-repeat="item in items" ng-style="{'background-color': $index % 2 == 0 ? 'yellow' : 'green }"> </li>
https://news.ycombinator.com/item?id=5790799
https://news.ycombinator.com/item?id=5790799