Animate directive on model change.