Fix the ngMock issue with ngAnimate

BREAKING CHANGE

This will break existing use of `mock.animate`. But the module itself is undocumented so it shouldn't be an issue.

Closes #5822
Closes #5917