Ng-if error when including Ionic

Hi all,

Seeing “undefined is not an object (evaluating ‘selectors[’’]’)” in the console when ng-if is used. Without including ‘Ionic’ as a dependency, the error is not shown. The stack trace indicates a problem with Ionic’s use of Angular-Animate.

Any ideas?

Angular 1.4 and Angular Animate 1.4 was the problem. I used these versions for compatibility with the Angular Mocks library. Using Angular 1.3.13 fixed the issue.