I am a beginner in angularJS and I need to modify the CSS of a button when it is disabled. Below is the code snippet that I have:
<button ng-hide="spot_id" class="btn ripple" ng-click="Activity()" style=" padding: 4px 12px 4px 12px; color: white;background-color: #00C18B;" ng-disabled="!name" ng-class="{'select':!name }">Add</button>
Along with this, here is the relevant styling in my CSS file:
.select{
background-color:red;
}