title: Why can't I use the localStorage in my .config when it's include in the .module definition?
body: <p>I have the following:</p>
  
  <pre><code>var app = angular
      .module('app', ['ui.router', 'admin', 'home', 'questions', 'ngResource', 'LocalStorageModule'])
      .config(['$sceProvider', '$stateProvider', '$locationProvider', 'localStorageService',
          function ($sceProvider, $stateProvider, $locationProvider, localStorageService ) {
  
          $sceProvider.enabled(false);
          $locationProvider.html5Mode(true);
  
          localStorageService.add('adminContent', 'xx');
  </code></pre>
  
  <p>This is giving me an error:</p>
  
  <pre><code>Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
  Error: [$injector:unpr] Unknown provider: localStorageService
  http://errors.angularjs.org/1.2.0-rc.2/$injector/unpr?p0=localStorageService
      at hasOwnPropertyFn (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:78:12)
      at http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:2997:19
      at getService (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:3119:39)
      at Object.invoke (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:3140:13)
      at http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:3078:37
      at Array.forEach (native)
      at forEach (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:224:11)
      at loadModules (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:3065:5)
      at createInjector (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:3007:11)
      at doBootstrap (http://127.0.0.1:81/Scripts/angular-v1.2.0-rc.2.js:1152:20)
  http://errors.angularjs.org/1.2.0-rc.2/$injector/modulerr?p0=app&amp;p1=Error%3…http%3A%2F%2F127.0.0.1%3A81%2FScripts%2Fangular-v1.2.0-rc.2.js%3A1152%3A20) 
  </code></pre>
  
  <p>Is it not possible to use localStorage in config like this? I have included the code for the localstorage module and it's loaded before the app.js.  It works in other parts of the application, but the same line does not work when placed in the app.config</p>