I would like to change the background colour of a button when it is clicked
HTML code:
You can prepare css class:
.clicked { color:red; }
HTML:
Celsius Fahrenheit
and give a class name in click function:
$scope.buttonClick= function (s){$scope.selectedButton =s }
http://jsfiddle.net/ms403Ly8/38/