JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="MyApp">
<div ng-controller="MyCtrl">
<div ng-class="styles"></div>
</div>
</div>
JavaScript
var app = angular.module("MyApp", []);
app.controller("MyCtrl", function($scope) {
$scope.styles = {'test':true,'test1':true, /* some comment */ 'test2':true};
});