fix(ngAnimate):getElementAnimationDetails() function logic error.