angular-carousel icon indicating copy to clipboard operation
angular-carousel copied to clipboard

Images are not switching

Open ambethoney opened this issue 9 years ago • 1 comments

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!

ambethoney avatar Aug 27 '15 20:08 ambethoney

+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

amritk avatar Oct 23 '15 22:10 amritk