Skip to content

Slider not working with ng-repeat #226

@MarcNealer

Description

@MarcNealer

working from the examples and using Angular 1 I added the slider code as described and changed to use ng-repeat

<div class="slider" slider>
    <ul class="slides">
         <li ng-repeat="images in vm.gallery1">
            <img ng-src="{{images.image}}">
        </li>
    </ul>
</div>

I checked and the right urls are being put in and the html looks fine, but I only get a grey box with no selection circles under it as well, thus not bad images.

I manually built the html using the same urls from the list and then it worked fine. Data from Gallery1 is also fine with *.image being the image url

There are also no messages or errors showing in the developers console

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions