Angular -u-bootstrap accordion and animation failure not working

On the angular -ui-bootstrap demo / docs accordion and collapse page, both are animated when an element is clicked.

However, the animations do not work in the plunker demos also found on this page. Is any dependency unacceptable or is this a possible mistake?

(checked in chrome / firefox)

UPDATE:

I upgraded to version 0.14.3 in 2015-10-29, and now everything works fine. Thanks to the angularUI team for all the hard work!

+7
javascript angularjs css twitter-bootstrap angular-ui-bootstrap
source share
2 answers

There is a bug in version 0.13 bootstrap-ui Just go back to 0.12, as shown below:

<script src="//angular-ui.imtqy.com/bootstrap/ui-bootstrap-tpls-0.12.0.js"></script>

+6
source share

Starting with version 0.13 you need to include ngAnimate in the application:

  • bower install angular-animate --save
  • Add a script link to index.html (e.g. using grunt wiredep ):

     <script src="vendor/angular-animate/angular-animate.js"></script> 
  • Add a module reference to your Angular application, for example:

     angular.module('app', ['ngCookies', 'ngRoute', 'ngSanitize', 'ngAnimate']); 
+19
source share

All Articles