angular-recaptcha icon indicating copy to clipboard operation
angular-recaptcha copied to clipboard

working locally, not working on the server

Open AmirGilboa opened this issue 7 years ago • 1 comments

i installed the component using bower. locally it works great. after minify/uglify and sending to server, it wont work, and i get the error: Unknown provider: vcRecaptchaServiceProvider <- vcRecaptchaService <- ContactCtrl

it is obviously listed in app.js, as well as the controller, otherwise it would not work locally. in my index.html i have this line:

and i checked that the file exists on the server.

what am i missing? thanks.

AmirGilboa avatar May 30 '17 01:05 AmirGilboa

some more info: i'm using wiredep. (and grunt, and generator-angular-fullstack 3.7.x) and the problem happens after "grunt build", (on the minified version) no matter if you run it locally or on the server. if it rings a bell to anybody, please let me know. i'm lost with this.

AmirGilboa avatar May 31 '17 04:05 AmirGilboa