title: Execute code at startup of angular application
body: <p>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 <code>ng-view</code>, I need this to be a generic solution for any <code>ng-app</code>.</p>
  
  <p>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.</p>