I'm trying to create a simple slider in angular. Where a div that contains 
some content (populate by an ng-repeat) will be scrollable by the user 
clicking the prev/next buttons on the sides. I'm using ng-if to display the 
select index of the content in ng-repeat. I have this sortof working, but 
not really. I'm using css3 keyframes for the ng-animate.  I've been 
googling trying to find an example of this and can't find anything. 

I haven't figure out how to:
1. trigger the animations from the angular js code (right now it's just 
triggered off setting the class on the div)
2. get the animation to work correctly when clicking the "right" arrow. The 
div is stacking underneath and then moving up, instead of coming in from 
the left.

Anyone see anything out there like this?

I have an unanswered stackoverflow question with all the code 
here: 
http://stackoverflow.com/questions/27559348/angular-prev-next-slider-with-ng-if-and-ng-animate

Any help on this would be GREATLY appreciated! I've been spinning my wheels 
for about a week now.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to