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

removing function names isn't great