title: Why can't I get a $location injected into in my config()?
body: <p>Why does this give me an error: </p>
  
  <pre><code>angular.module('app')
         .config(function($routeProvider, $locationProvider, $httpProvider, $location) {
  </code></pre>
  
  <blockquote>
    <p>Uncaught Error: Unknown provider: $location from app</p>
  </blockquote>
  
  <p>But this line doesn't? </p>
  
  <pre><code>angular.module("app")
         .factory("SomeResource", 
                 function($q, $resource, $http, $location, AuthenticationService, Base64) {
  </code></pre>
  
  <p>It's the same app.  Can <code>config</code> only get providers and <code>factory</code> only get non-providers?  </p>