{"action":"created","issue":{"url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/6","labels_url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/6/comments","events_url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/6/events","html_url":"https://github.com/jeffcarp/braintree-angular/issues/6","id":54505104,"number":6,"title":"Braintree Angular with Bower Issue?","user":{"login":"bytenel","id":618650,"avatar_url":"https://avatars.githubusercontent.com/u/618650?v=3","gravatar_id":"","url":"https://api.github.com/users/bytenel","html_url":"https://github.com/bytenel","followers_url":"https://api.github.com/users/bytenel/followers","following_url":"https://api.github.com/users/bytenel/following{/other_user}","gists_url":"https://api.github.com/users/bytenel/gists{/gist_id}","starred_url":"https://api.github.com/users/bytenel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytenel/subscriptions","organizations_url":"https://api.github.com/users/bytenel/orgs","repos_url":"https://api.github.com/users/bytenel/repos","events_url":"https://api.github.com/users/bytenel/events{/privacy}","received_events_url":"https://api.github.com/users/bytenel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-15T21:14:22Z","updated_at":"2015-09-09T15:58:20Z","closed_at":"2015-01-17T00:37:15Z","body":"<code>\r\n_prelude.js:1 Uncaught Error: Cannot find module './braintree-factory'_prelude.js:1 s_prelude.js:1 (anonymous function)braintree-angular.js:50 2../braintree-factorybraintree-angular.js:5 sbraintree-angular.js:5 ebraintree-angular.js:5 browserifyShimbraintree-angular.js:99 (anonymous function)braintree-angular.js:101 /Users/bytenel/workspace/exposure_tracker/bower_components/braintree-angular/dist/braintree-angular.js./Users/bytenel/workspace/exposure_tracker/bower_components/angular/angular.min.js_prelude.js:1 s_prelude.js:1 (anonymous function)main.js:45 (anonymous function)main.js:85 ./client/scripts/main.js../controllers/modalCtrl_prelude.js:1 s_prelude.js:1 e_prelude.js:1 (anonymous function)\r\nangular.min.js:8 Uncaught Error: [$injector:modulerr] http://errors.angularjs.org/1.3.8/$injector/modulerr?p0=main&p1=Error%3A%20…%20at%20d%20(http%3A%2F%2F0.0.0.0%3A5000%2Fscripts%2Fbundle.js%3A159%3A350)angular.min.js:8 (anonymous function)angular.min.js:38 (anonymous function)angular.min.js:9 sangular.min.js:37 gangular.min.js:40 Obangular.min.js:19 dangular.min.js:20 scangular.min.js:18 Jdangular.min.js:251 (anonymous function)jquery.min.js:4 jjquery.min.js:4 k.fireWithjquery.min.js:4 n.extend.readyjquery.min.js:4 I\r\n</code>\r\n\r\nSo when I install from bower and use browserify to include the module I get this error...am I configuring something wrong?"},"comment":{"url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/comments/138956079","html_url":"https://github.com/jeffcarp/braintree-angular/issues/6#issuecomment-138956079","issue_url":"https://api.github.com/repos/jeffcarp/braintree-angular/issues/6","id":138956079,"user":{"login":"KoalaOnAStick","id":10381856,"avatar_url":"https://avatars.githubusercontent.com/u/10381856?v=3","gravatar_id":"","url":"https://api.github.com/users/KoalaOnAStick","html_url":"https://github.com/KoalaOnAStick","followers_url":"https://api.github.com/users/KoalaOnAStick/followers","following_url":"https://api.github.com/users/KoalaOnAStick/following{/other_user}","gists_url":"https://api.github.com/users/KoalaOnAStick/gists{/gist_id}","starred_url":"https://api.github.com/users/KoalaOnAStick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoalaOnAStick/subscriptions","organizations_url":"https://api.github.com/users/KoalaOnAStick/orgs","repos_url":"https://api.github.com/users/KoalaOnAStick/repos","events_url":"https://api.github.com/users/KoalaOnAStick/events{/privacy}","received_events_url":"https://api.github.com/users/KoalaOnAStick/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T15:58:20Z","updated_at":"2015-09-09T15:58:20Z","body":"Hi @jeffcarp,\r\n\r\nI seem to have the same issue as @bytenel .\r\n\r\nI've tried requiring the braintree-angular.js file directly as you proposed but no success --> I still get the same issue as bytenel indicated.\r\n\r\nI don't mind shimming braintree-angular to get it to work, but even there I'm stumped ;)\r\n\r\nAny idea how to fix this?"}}