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

Fixes #4869