I have a website builded with angular. I want to do some debugging in the browser console but i don't know how to actually execute my function.
I tried this :
angular.module('app').run(function(myService) {
myService.doSomething();
});
But the function is not called.