title: Rails 3 + angularjs + minification does not work in production: Unknown provider: eProvider
body: <p>I've followed all the instructions I can find for fixing minification, e.g.</p>
  
  <pre><code>var MyController = function(renamed$scope, renamedGreeter) {
  ...
  }
  MyController.$inject = ['$scope', 'greeter'];
  </code></pre>
  
  <p>and </p>
  
  <pre><code>someModule.factory('greeter', ['$window', function(renamed$window) {
  ...;
  }]);
  </code></pre>
  
  <p>yet angular refuses to work still.  It always throws the error "Unknown provider: eProvider"</p>
  
  <p>Here are my two attempts to get it working... can anyone help?</p>
  
  <p><a href="https://github.com/jemminger/angular-test1">https://github.com/jemminger/angular-test1</a></p>
  
  <p><a href="https://github.com/jemminger/angular-test2">https://github.com/jemminger/angular-test2</a></p>
  
  <p>They've already had the assets precompiled and development mode is configured to work as production, so you should just be able to "rails s" to see it (not) work.</p>