Has anyone had luck using this module with Angular 1.3+ when minifying their code?
I'm using Grunt for my production environment to concat all the vendor files together.
When loading up the app, I get the following error:
Uncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:
Error: [$injector:modulerr] Failed to instantiate module vcRecaptcha due to:
Error: [$injector:nomod] Module 'vcRecaptcha' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
I was having a previous issue with a different module ngDialog. However, after updating from 0.3.4 to 0.3.9 which is the latest, the similar error I'm getting for this module disappeared and now the error is showing up for this module.
To be a bit more clear, my code works great in development. Only when concat/minification/uglify happens does the error appear.
An example of my index.html and app.js file can be found in the ngDialog link above.
Has anyone had luck using this module with Angular 1.3+ when minifying their code?
I'm using Grunt for my production environment to concat all the vendor files together.
When loading up the app, I get the following error:
I was having a previous issue with a different module ngDialog. However, after updating from 0.3.4 to 0.3.9 which is the latest, the similar error I'm getting for this module disappeared and now the error is showing up for this module.
To be a bit more clear, my code works great in development. Only when concat/minification/uglify happens does the error appear.
An example of my
index.html
andapp.js
file can be found in the ngDialog link above.Thanks for taking a look!