Angular directive for animate.css