I am trying to change the css property by angularjs when hovering
Here is my code:
$scope.showButtonGroup = () ->
buttonTools = document.getElementsByClassName('widget-formwidget-topright-actions')
angular.element(buttonTools).css('display': 'block')
But the console shows me the error that: Referencing DOM nodes in Angular expressions is disallowed! Expression:
Could someone help me on that? thanks!
undefinedornullin your CoffeeScript.