fix(ngAnimate):getElementAnimationDetails() logic error.