refactor(ngAnimate): remove unused function argument

This argument is not used inside the function.