angular-carousel
angular-carousel copied to clipboard
Images are not switching
Hi,
I'm trying to get Angular-Carousel to work in my app. It's currently showing only the first image, even when I click on an indicator to switch images. I'm not sure why this is happening!
Here's my view:
<div class="carousel">
<ul rn-carousel>
<li ng-repeat="image in carousel">
<img ng-src="{{ image.src }}" class="slideshow"/>
</li>
</ul>
<div rn-carousel-indicators ng-if="carousel.length > 1" slides="carousel" rn-carousel-index="carouselIndex"></div>
<div class="title">
<h1 class="header-title">{{header.title}}</h1>
<h4 class="header-subtitle">{{header.subtitle}}</h4>
</div>
</div>
I bower-installed AC and passed it to the app as a dependency. Any insight as to what I'm doing wrong is greatly appreciated!
+1
Seems that scope.goToSlide
is being called, but indexModel.assign(scope.$parent.$parent, index);
doesn't do anything.
Tested on Angular 1.5.0-beta.0