Can't see images of slider when routing to it


#1

My slider’s images are not showing, when I first visit the splashscreen. So when I route a button (that is situated on my splashscreen) to my homepage, I can’t see the images in the slider. But when I’d remove my splashscreen (so start with the home screen), I can suddenly see them!

app.controller('SlideboxModule', function ($scope) {
    $scope.options = {
        loop: false,
        effect: 'fade',
        speed: 1000,
        slidesPerView: 3,
        centeredSlides: false
    }
});

This is the code for the slidebox.

My images in the slider do work though, when I change this to home, instead of the splashscreen:

$urlRouterProvider.otherwise("/home");

With other words: if I would cancel my splashscreen, the images in my slider work…

I truly don’t get it. The things is: it doesn’t work on the view or the lab… so can’t see my home.html at all anymore. It just says “Cannot GET /home.html”. I tried checking it in the console, but no errors at all…

Anyone know what the problem might be?

Cordova CLI: 6.1.1
Gulp version:  CLI version 3.8.11
Gulp local:   Local version 3.9.0
Ionic Framework Version: 1.3.1-nightly-4219
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: 1.8.3 
ios-sim version: 5.0.1 
OS: Mac OS X El Capitan
Node Version: v0.12.0
Xcode version: Xcode 8.0 Build version 8A218a

#2

I solved this myself. The problem occurs when you put a ng-click in anything else than a button. When I put it on the button, it worked like a charm.

It’s crazy, but it’s fixed.