http://stackoverflow.com/questions/13813254/how-do-i-conditionally-apply-css-styles-in-angularjs
when using ng-repeat and some class needs to be different,we can use:
<div ng-repeat="item in items" ng-class="{'Name': Your Condition}">
... HTML to display the item ...
<input type="checkbox" ng-model="item.checked">
</div>
For example:
<div ng-repeat="item in items" ng-class="{'pending-delete': item.checked}">
... HTML to display the item ...
<input type="checkbox" ng-model="item.checked">
</div>