updated with working animations, angular style