refactor($animate): use $animate.$$setClassImmediately to save code

this is wrong