I have a <button>
and a <span>
inside a tab. I want to add animate.css classes to span when hover over button. I'm using angular to include them.
It doesn't work in chrome (it does work in ie):
<div>
<button ng-mouseover="one()" ng-mouseleave="two()">Hover over me</button>
<span ng-class="{animated : zero, bounce : zero}">Animate me</span>
</div>
<script>
function controlTotal($scope) {
$scope.zero = false;
$scope.one = function () {
$scope.zero = true;
};
$scope.three = function () {
$scope.zero = false;
};
};
</script>