NgAnimate does not work with ngShow / ngHide: ng-hide-add and ng-hide-remove classes are not generated

I am trying to animate the ng-hide / ng-show directive, and for some reason none of the ng-hide-add * / ng-hide-remove * classes are generated. The ng-animate class is also not generated. I have "ngAnimate" as a dependency for my module (if I find "angular.module ('ngAnimate') in the Chrome console I get an object). I removed the class NameFilter ($ animateProvider.classNameFilter (/ xyz /)). What else should I look for? I am working on a huge project and I do not know what other settings / configurations may be in place. The used version of angular is 1.4.3 The used version of angular -animate is 1.4.3

I debugged ngAnimate and:

  • function areAnimationsAllowed always returns false because
  • rootElementDetected is always false because
  • $ rootElement: <! - uiView: → instead of <div ng-app = "myApp" ui-view class = "ng-scope">

Is this a known issue?

Thank you in advance!

+4
source share

All Articles