angular-animate giving error on console

33 views
Skip to first unread message

Adeel Asghar

unread,
Aug 23, 2017, 2:35:02 AM8/23/17
to Angular and AngularJS discussion

I am trying to add ngAnimate in my project but it is giving me error on console 


angular-animate.js:4122 Uncaught TypeError: q.module(...).info is not a function.


I am using Angular 1.4.3


What I did?
bower install angular-animate

index.html
<script src="../bower_components/angular-animate/angular-animate.min.js"></script>


Controller:
angular.module('myApp.myController', ['ngAnimate']


I also changed the angular-animate version to 1.4.3 but didn't work.


Can someone please suggest me?

Adeel Asghar

unread,
Aug 23, 2017, 2:35:02 AM8/23/17
to Angular and AngularJS discussion

I am trying to add ngAnimate in my project but it is giving me error on console 


angular-animate.js:4122 Uncaught TypeError: q.module(...).info is not a function.


I am using Angular 1.4.3

What I did?
bower install angular-animate

index.html
<script src="../bower_components/angular-animate/angular-animate.min.js"></script>


Controller:
angular.module('myApp.myController', ['ngAnimate']


I also changed the version of angular-animate to 1.4.3 but didn't work.

Sander Elias

unread,
Aug 23, 2017, 3:43:14 AM8/23/17
to Angular and AngularJS discussion
Hi Adeel,

What I can find is that this problem is somehow bower related.Can you try it without bower?

Regards
Sander
Reply all
Reply to author
Forward
0 new messages