Open code-griffin opened 9 years ago
In my app , I wanna set defaults of tourConfig. I'm doing like this...
angular.module('myProject',[...]) .config(['tourConfig',function(tourConfig){ tourConfig.setDefaults({ offset: 5, backDrop:true }])
But i am getting error? Anything wrong?
tourConfig is a constant. Just inject to your config or controller like a service, and then change it like this: tourConfig.backDrop = true;
In my app , I wanna set defaults of tourConfig. I'm doing like this...
angular.module('myProject',[...]) .config(['tourConfig',function(tourConfig){ tourConfig.setDefaults({ offset: 5, backDrop:true }])
But i am getting error? Anything wrong?