title: Run module not running
body: <p>So I have an AngularJS application in which I am attempting to bootstrap only after all of the data for the application is loaded.  I need to be able to make the requests in JSONP format so I am attempting to load the <code>$resource</code> module by using a <code>.run</code> statement.</p>
  
  <p>Here's how it looks:</p>
  
  <pre><code>(function(){
  
          // Define our app
              app = angular.module("GRT", ["ngResource", "ngRoute"])
  
              .run(function($resource){
                  console.log($resource);
              })
  
          // Configure our route provider and location provider
              .config(function($routeProvider, $httpProvider, $locationProvider) {
                  $routeProvider.
                  when('/', {
                      templateUrl: 'views/home.html'
                  })
                  .when('/customer-site-registration', {
                      templateUrl: "views/customer-site-registration.html",
                      controller: "customerSiteRegistration"
                  })
                  .otherwise({
                      redirectTo: '/'
                  });
  
                  // $locationProvider.html5Mode(true);
              });
      }())
  </code></pre>
  
  <p>Basically no matter what I do it wont run that run block.  Any ideas?</p>