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

fine, but unrelated change --- put it in an unrelated commit