An open API service indexing awesome lists of open source software.

https://github.com/dutchcoders/angular-tour

Angular tour based on Introjs
https://github.com/dutchcoders/angular-tour

Last synced: 4 months ago
JSON representation

Angular tour based on Introjs

Awesome Lists containing this project

README

        

angular-tour
============

Angular tour based on Introjs.

[Demo](http://dutchcoders.github.io/angular-tour)

```
var app = angular.module('app', ['duco.tour']);

app.controller('TourController', ['$rootScope', '$tour', function($rootScope, $tour) {
tour = {
skipLabel: 'Skip',
doneLabel: 'Done',
previousLabel: 'Previous',
nextLabel: 'Next',
showStepNumbers:false,
scope: $scope,
steps:[
{
element: 'a.step1',
intro: "Step 1

Step 1 intro.

",
},
{
element: 'a.step2',
intro: "Step 2

Step 2 intro.

",
},
{
element: 'a.step3',
intro: "Step 3

Step 3 intro.

",
position: 'right'
}]
}

$tour.open(tour);
}]);
```