Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Carousel (ui.bootstrap.carousel) - No Slide Animation on Plunker #3648

Closed
MishaTornes opened this issue May 8, 2015 · 5 comments
Closed

Comments

@MishaTornes
Copy link

There is no slide animation in the Plunker for the ui.bootstrap.carousel.

I was unable to figure it out in my own site.
Is it just missing a reference to a library ?

Does it means the demo code on ui.bootstrap is missing a config argument?

@sagidayan
Copy link

If you include ngAnimate as a dependency the animations will work.

note that ngAnimate is not included in the angular.js file. you need to include the angular-animate.js to your html.

@MishaTornes
Copy link
Author

Adding the ngAnimate dependency resolved the issue.
It will be nice if the examples for each component (or plunker) included it's dependencies :) (if any)
My first assumption was ui.bootstrap element where self sufficient.
Thanks for the quick follow up!

@abrahamgodoy
Copy link

I have the same problem but i wasnt able to fix it, can you put the example in plunker to see the order of dependencies and check my error. @MishaTornes

@MishaTornes
Copy link
Author

I just did what @sagidayan sugested.
Note I'm using Angular 1.3.13 instead of .14 (since @sdhintGIT sugested prtoblems in 12.1)

Here, I modified the Plunker from the UI website :
http://plnkr.co/edit/4MluOvr5AVc0qBKkyVpM?p=preview

@monkeypr00f
Copy link

Hi guys,

seems like this issue is back in angular 1.4.x.
See attached Plunker http://plnkr.co/edit/zv1tcFJ0N6n1TT5PeTTo?p=info

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants