code: function startTour(tour) {
  
              tour.config = angular.extendDeep({}, service.config, tour.config);
  
              console.log(tour);
  
              service.current = {
                  tour: tour,
                  step: 0,
                  promise: $q.defer()
              };
  
              toggleElements(true, tour);
              doStep();
  
              return service.current.promise.promise;
          }
docs: Internals