use ngAnimate to perform animation and change css style
set up pulseMe directive to carry out pulse animation