{"action":"closed","issue":{"url":"https://api.github.com/repos/VividCortex/angular-recaptcha/issues/37","labels_url":"https://api.github.com/repos/VividCortex/angular-recaptcha/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/VividCortex/angular-recaptcha/issues/37/comments","events_url":"https://api.github.com/repos/VividCortex/angular-recaptcha/issues/37/events","html_url":"https://github.com/VividCortex/angular-recaptcha/issues/37","id":55688375,"number":37,"title":"Does this module work with Angular 1.3+ ?","user":{"login":"brutalhonesty","id":1609870,"avatar_url":"https://avatars.githubusercontent.com/u/1609870?v=3","gravatar_id":"","url":"https://api.github.com/users/brutalhonesty","html_url":"https://github.com/brutalhonesty","followers_url":"https://api.github.com/users/brutalhonesty/followers","following_url":"https://api.github.com/users/brutalhonesty/following{/other_user}","gists_url":"https://api.github.com/users/brutalhonesty/gists{/gist_id}","starred_url":"https://api.github.com/users/brutalhonesty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brutalhonesty/subscriptions","organizations_url":"https://api.github.com/users/brutalhonesty/orgs","repos_url":"https://api.github.com/users/brutalhonesty/repos","events_url":"https://api.github.com/users/brutalhonesty/events{/privacy}","received_events_url":"https://api.github.com/users/brutalhonesty/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-27T23:03:24Z","updated_at":"2015-01-27T23:21:59Z","closed_at":"2015-01-27T23:21:59Z","body":"Has anyone had luck using this module with Angular 1.3+ when minifying their code?\r\n\r\nI'm using Grunt for my production environment to concat all the vendor files together.\r\n\r\nWhen loading up the app, I get the following error:\r\n```javascript\r\nUncaught Error: [$injector:modulerr] Failed to instantiate module myApp due to:\r\nError: [$injector:modulerr] Failed to instantiate module vcRecaptcha due to:\r\nError: [$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.\r\n```\r\n\r\nI was having a previous issue with a different module [ngDialog](https://github.com/likeastore/ngDialog/issues/162). 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.\r\n\r\nTo be a bit more clear, my code works great in development. Only when concat/minification/uglify happens does the error appear.\r\n\r\nAn example of my ```index.html``` and ```app.js``` file can be found in the ngDialog link above.\r\n\r\n```bash\r\n$ bower --version\r\n1.3.12\r\n$ bower list\r\nbower check-new     Checking for new versions of the project dependencies..\r\nmyApp#0.0.1 /Users/user/Documents/myApp\r\n├── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n├─┬ angular-animate#1.3.1 (1.3.12-build.33+sha.d1b6480 available, latest is 1.4.0-build.3807+sha.b3a9bd3)\r\n│ └── angular#1.3.1 (latest is 1.4.0-build.3807+sha.b3a9bd3)\r\n├─┬ angular-chosen-localytics#1791dcfd23\r\n│ ├── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── chosen#e-tag:3faf39b4e\r\n├─┬ angular-cookies#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├─┬ angular-google-maps#2.0.7 (2.0.12 available)\r\n│ ├── angular#1.3.1\r\n│ └── lodash#2.4.1 (latest is 3.0.0)\r\n├── angular-meta#0.2.0\r\n├─┬ angular-mocks#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├─┬ angular-moment#0.9.0\r\n│ ├── angular#1.3.1 (1.3.12-build.33+sha.d1b6480 available, latest is 1.4.0-build.3807+sha.b3a9bd3)\r\n│ └── moment#2.9.0\r\n├── angular-payments#2472bc9bef\r\n├─┬ angular-recaptcha#2.1.1\r\n│ └── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n├─┬ angular-resource#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├─┬ angular-route#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├─┬ angular-sanitize#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├─┬ angular-scenario#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular#1.3.1\r\n├── es5-shim#3.0.2 (latest is 4.0.5)\r\n├── font-awesome#4.2.0 (4.3.0 available)\r\n├── jquery#1.11.1 (1.11.2 available, latest is 2.1.3)\r\n├── json3#3.3.2\r\n├── lodash#2.4.1 (latest is 3.0.0)\r\n├─┬ ng-breadcrumbs#0.4.1\r\n│ ├── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n│ └── angular-route#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n├─┬ ngDialog#0.3.9\r\n│ └── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n├─┬ ngcart#0.0.2-rc.1.0\r\n│ └── angular#1.3.1 (1.4.0-build.3807+sha.b3a9bd3 available)\r\n└── oauth-js#0.3.0 (latest is 0.4.0)\r\n```\r\n\r\nThanks for taking a look!"}}