fix(ngAnimate): correctly retain and restore existing styles during and after animation

Closes #4869