JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myExample" ng-controller="myCtrl as Ctrl">
<table>
<tr ng-repeat="item in Ctrl.list" ng-show="item % 2">
<td>{{item}}</td>
</tr>
</table>
</div>
CSS
table {
width: 150px;
}
tr,td {
border: 2px solid #000;
}
tr:nth-child(even) {
background-color: #f00;
}
JavaScript
var app = angular.module('myExample', []);
app.controller('myCtrl', function ($scope){
var ctrl = this;
ctrl.list = [1,2,3,4,5,6,7,8,9]
})