Closed ryankc33 closed 9 years ago
For some reason calling $tour.start in the controller doesn't work. I had to extend the setCurrentStep function to trigger $tour in the controller:
this.startTour = function () {
currentIndex = 1;
storeCurrentStep();
}
controller:
if !$scope.is_setup
$tour.startTour
How do you trigger $tour.start with a controller scope? I need to do something like the following coffeescript:
I've tried several variations including:
and setting a step-trigger on the element
But nothing seems to work. It only works by manually clicking a button: