Make a directive to build a carousel from WebService

635 views
Skip to first unread message

Jonathan Meiss

unread,
Oct 30, 2012, 1:43:02 PM10/30/12
to ang...@googlegroups.com
Hi everybody,

I'm trying to write a directive to get a carousel with data fetch from a WebService.

I've a carousel working but with only one item.
It's like if the carousel fired just after the first loop in ng-repeat.

I've wrote this http://jsfiddle.net/jtBHc/2/ to be illustrate my problem (wich I can't get it works through jsfiddle)
because I'm not sure if my explanations are clear.

I'm working on this since 4h without any success :s


So if somebody have few minutes to help me to get it working it could be very nice.

Thanks for all kind of help you can provide! :)

Jonathan Meiss

unread,
Oct 31, 2012, 4:54:56 AM10/31/12
to ang...@googlegroups.com
Nobody has any kind of help to provide?

I'm still experiencing this problem :s

Peter Bacon Darwin

unread,
Oct 31, 2012, 10:09:26 AM10/31/12
to ang...@googlegroups.com
Fiddle seems to be down right now.  Will take a look later.

--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en.
 
 

Jonathan Meiss

unread,
Oct 31, 2012, 10:27:23 AM10/31/12
to ang...@googlegroups.com
Oh thanks Peter!

Actually, because I didn't found any solution, I've switched back to Twitter Bootstrap Carousel and I'm finding a way to display multiple items per slide.
I've totally changed my code so it doesn't look like it anymore but I've to split my array of objects to get multiple items per slide (thanks to TB :s).

Nevertheless, it seems to work so unless if you like chalenges, I will keep my second solution ;)

bornto...@gmail.com

unread,
Feb 26, 2013, 3:46:53 PM2/26/13
to ang...@googlegroups.com
Hi,

Can you share the code for displaying multiple images in a slide.Iam trying to use Angular ui Carousel but it displays only one image at a time in slide directive.I am having tough time to display multiple images.I appreciate if you can help.

Thanks

Roller

unread,
Feb 26, 2013, 6:50:58 PM2/26/13
to ang...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages