Skip to content

Commit 106c5a0

Browse files
committed
Merge pull request #25 from bartvanderwal/master
Issue 23 - put tourStep on scope
2 parents 64bf72b + ed10748 commit 106c5a0

4 files changed

+4
-1
lines changed

app/tour_step_directive.js

+1
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@
9292
//Add step to tour
9393
templateReady.then(function () {
9494
ctrl.addStep(step);
95+
scope.tourStep = step;
9596
});
9697

9798
}

demo/angular-bootstrap-tour.js

+1
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@
499499
//Add step to tour
500500
templateReady.then(function () {
501501
ctrl.addStep(step);
502+
scope.tourStep = step;
502503
});
503504

504505
}

dist/angular-bootstrap-tour.js

+1
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,7 @@
499499
//Add step to tour
500500
templateReady.then(function () {
501501
ctrl.addStep(step);
502+
scope.tourStep = step;
502503
});
503504

504505
}

dist/angular-bootstrap-tour.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)