Closed wiemKh closed 6 years ago
Hey @wiemKh, this could be caused by a number of issues, but it isn't an issue with this module. Try these, if they don't work, please look through the README and closed issues:
ui-tour
directive you use creates a new tour. So your link is creating a new tour with 0 steps (there are no steps defined within your link). This is the main issue, but you will still run into issues:ng-controller
on the same element as the ui-tour
. This will create 2 scopes, and the controller scope will not have access to the tour scope.ui-tour
div, and remove the ui-tour-on-ready="tour.start()"
from the div.ui-tour
directive to the body element, or any ancestor element of ngView. Then create the steps anywhere, and you can keep the tour start button/link anywhere in there as well.thank you a lot ben , it worked now :) but i still have a problem that ( i dont know how to explain it lol ) for exemple in view 1 i have step 1 with content hello in view 2 i have step2 with content hello2 when the user is in view 2 and then click button back of navigateur to be back to view 1 .
in view 1 we have hello and hello 2 (both) i want hello 2 be only on view 2 how i can do that? i hope you undrestand me
hi i'm new in angularjs i want to integrate angular ui tour in my application , it worked fine but when i open my application the tour always shows so i want only when the user click on link the tour start
this is my link
and in other view i have
but when i click the link i got error No step.