JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp" ng-controller="myController">
<div ng-style="myStyle">
Hello
</div>
<button ng-click="myStyle.display: none">change bg</button>
<button ng-click="myStyle.width='200px';myStyle.height='200px'">change width</button>
</div>
CSS
body {
text-align:center;
color:#FFF;
font-family: sans-serif;
text-transform: uppercase;
}
JavaScript
angular.module('myApp', [])
.controller('myController', function($scope){
$scope.myStyle = {
height:'100px',
width:'100px',
backgroundColor:'red',
lineHeight:'100px'
};
});