My Rails app doesn\'t work after turned on assets magnification when assets compiled. I converted the Angular controllers to use the bracket notation, and get following erro
I have the same problem with the gem hiravgandhi/angularjs-rails
I was able to work OFF minifcation in production by changing my settings in config/environments/production.rb
config.assets.js_compressor = Uglifier.new(mangle: false)
Using a Rails 4.0.2 app with the hiravgandhi/angularjs-rails gem as instructed by the gem installation instructions.