AngularJS app.run() documentation?

How and where is app.run() used? After module definition, after app.config() or after app.controller()? I am adopting the BreezeJS Angular Q, which asks whether certain code can be run in the app....