title: Is it possible to use $logProvider for logging in config block of the module?
body: <p>I'd like to output log messages to console when debugging. Works fine in controllers but can't get it to work in a module config block, e.g.</p>
  
  <pre><code>angular.module('MyApp', [])
    .run(function($state){
      // run stuff here
    });
    .config(function($logProvider){
      $log.debug('Config debug message');
    });
  </code></pre>
  
  <p>I get an error:</p>
  
  <pre><code>error TypeError: Cannot read property 'debug' of undefined
  </code></pre>
  
  <p>Is it possible to use the logProvider in the config block of a module?</p>