Added bgopacity variable for use in ng-class

Added bgopacity variable so that ng-class can use it to change color of buttons