I have been working on a Rails spa app with an AngularJs frontend. Has worked fine in development,
but when I pushed it up to a staging environment where I am using Nginx, reverse proxy with Puma I began getting
this error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module App due to: Error: [$injector:unpr] Unknown provider: e
Bit of a novice troubleshooting javascript errors that have been minified so not sure how to track this down.
I believe this is a common error from injection, but I believe i have used the format
angular.module('App')
.controller 'MyCtrl', [
'AlchemyResource'
'Restangular'
'$scope'
( AlchemyResource
Restangular
$scope) ->
]
that prevents argument mangling.
So how do I track down where this in happening?
Thanks!
Jet