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
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
To view this discussion on the web visit
https://groups.google.com/d/msgid/angular/1d0efefa-11b7-485c-87ad-db93232efcbd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.