code: function(){
      return {
        current : 0,
        transitionStep: true,
        resumeJoyride: function(){},
        start: false,
        config: {
          overlay: true,
          template: false,
          steps : [],
          onStepChange: function(){},
          onFinish: function(){},
          onStart: function(){}
        },
        next: function(){
          this.transitionStep = 'next';
        },
        prev: function(){
          this.transitionStep = 'prev';
        },
        goTo: function(step){
          this.start = true;
          if (step) {
            this.current = step;
          }
        }
      };
    }
docs: //////******* Joyride Service *******//////////