fix(ngAnimate): setting classNameFilter disables animation inside ng-if

Closes #6539