Solved
Change CSS class of a button
I'm trying to create a function which removes the class of a button and then adds another class:
$scope.tutorialShow = function () {
angular.element(document.querySelector("[widget-id=instructionInfoButton] button")).removeClass("test").addClass("button");
}
I'm not sure the error in my code.

