refactor(ngAnimate): remove unused function argument

Closes #9585