How to change button background-color by id on button click in ionic?


How to change background-color of single button out of many button on button click and also after click on second button background-color should be removed from first button


You can try to create your own directive


Bind the [style.background-color] property and modify its value in the controller appropriately.