{"action":"created","issue":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1260","labels_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1260/labels{/name}","comments_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1260/comments","events_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1260/events","html_url":"https://github.com/angular-translate/angular-translate/issues/1260","id":111330964,"number":1260,"title":"Angular injector error when compiling with Browserify","user":{"login":"suomiton","id":2194945,"avatar_url":"https://avatars.githubusercontent.com/u/2194945?v=3","gravatar_id":"","url":"https://api.github.com/users/suomiton","html_url":"https://github.com/suomiton","followers_url":"https://api.github.com/users/suomiton/followers","following_url":"https://api.github.com/users/suomiton/following{/other_user}","gists_url":"https://api.github.com/users/suomiton/gists{/gist_id}","starred_url":"https://api.github.com/users/suomiton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suomiton/subscriptions","organizations_url":"https://api.github.com/users/suomiton/orgs","repos_url":"https://api.github.com/users/suomiton/repos","events_url":"https://api.github.com/users/suomiton/events{/privacy}","received_events_url":"https://api.github.com/users/suomiton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-14T06:08:16Z","updated_at":"2015-10-21T11:17:45Z","closed_at":"2015-10-17T13:10:59Z","body":"Our application scripts are mainly built with Browserify but we still use RequireJS on some other scripts. But our Angular application is fully compiled with Browserify. Yesterday I tried to add Angular-translate module to out Angular app but I keep getting the following error\r\n\r\n![module-error](https://cloud.githubusercontent.com/assets/2194945/10475996/6f4d3a6c-7252-11e5-95c3-3e98fc6a2430.jpg)\r\n\r\nCurrently we are using Angular v1.4.7 and Angular translate v2.8.1. \r\nHere's how our application dependencies are stacked and how the application is instantiated\r\n\r\n![dependencies](https://cloud.githubusercontent.com/assets/2194945/10476025/b6e05440-7252-11e5-8e1a-7f42ba97a089.jpg)\r\n\r\n![app-instantiation](https://cloud.githubusercontent.com/assets/2194945/10476027/b9f2d5b8-7252-11e5-8b5f-f55fd20c2a8c.jpg)\r\n\r\nI have tried to use older Angular versions and different script ordering but nothing helps. Any ideas what might be causing this issue?\r\n"},"comment":{"url":"https://api.github.com/repos/angular-translate/angular-translate/issues/comments/149858802","html_url":"https://github.com/angular-translate/angular-translate/issues/1260#issuecomment-149858802","issue_url":"https://api.github.com/repos/angular-translate/angular-translate/issues/1260","id":149858802,"user":{"login":"suomiton","id":2194945,"avatar_url":"https://avatars.githubusercontent.com/u/2194945?v=3","gravatar_id":"","url":"https://api.github.com/users/suomiton","html_url":"https://github.com/suomiton","followers_url":"https://api.github.com/users/suomiton/followers","following_url":"https://api.github.com/users/suomiton/following{/other_user}","gists_url":"https://api.github.com/users/suomiton/gists{/gist_id}","starred_url":"https://api.github.com/users/suomiton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suomiton/subscriptions","organizations_url":"https://api.github.com/users/suomiton/orgs","repos_url":"https://api.github.com/users/suomiton/repos","events_url":"https://api.github.com/users/suomiton/events{/privacy}","received_events_url":"https://api.github.com/users/suomiton/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T11:17:45Z","updated_at":"2015-10-21T11:17:45Z","body":"Also noticed that if I load require.js dependency after the Angular components the site works. Though it might raise some other issues."}}