Fixed error that only occurred with compressed js.

modified:   Gemfile.lock
modified:   app/assets/javascripts/angular/services/angularjs-rails-resource.js
modified:   config/environments/production.rb