Is there a way I can execute some JavaScript code at start-up of my AngularJS application? I have some common code that I need to make sure runs before any of the app directives/controllers. I do not want to be tied to routes and `ng-view`, I need this to be a generic solution for any `ng-app`.

I thought I could use Module Config, and I actually tried that, but I am trying to call a service, which seems impossible to access on Module Load.