add directive to animate icons