I know you can easily toggle a class like this:
.c {
padding: 20px;
background: #00adff;
}
.a {
background: #43dd31;
}
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
<div ng-app="">
<div class="c" ng-class="{'a': toggle }">
<button ng-click="toggle = !toggle">Toggle</button>
</div>
</div>
My question is, what if I have two separate classes I want to toggle with different buttons on the same div using this method?