{"action":"created","issue":{"url":"https://api.github.com/repos/auth0/auth0-angular/issues/96","labels_url":"https://api.github.com/repos/auth0/auth0-angular/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/auth0/auth0-angular/issues/96/comments","events_url":"https://api.github.com/repos/auth0/auth0-angular/issues/96/events","html_url":"https://github.com/auth0/auth0-angular/issues/96","id":46040275,"number":96,"title":"angular-jwt minification problem ?","user":{"login":"jensoleg","id":5655197,"avatar_url":"https://avatars.githubusercontent.com/u/5655197?v=3","gravatar_id":"","url":"https://api.github.com/users/jensoleg","html_url":"https://github.com/jensoleg","followers_url":"https://api.github.com/users/jensoleg/followers","following_url":"https://api.github.com/users/jensoleg/following{/other_user}","gists_url":"https://api.github.com/users/jensoleg/gists{/gist_id}","starred_url":"https://api.github.com/users/jensoleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensoleg/subscriptions","organizations_url":"https://api.github.com/users/jensoleg/orgs","repos_url":"https://api.github.com/users/jensoleg/repos","events_url":"https://api.github.com/users/jensoleg/events{/privacy}","received_events_url":"https://api.github.com/users/jensoleg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-16T21:52:22Z","updated_at":"2015-01-06T17:07:32Z","closed_at":null,"body":"Hi\r\nI have investigated problems with minification and have noticed there might be a problem with angular-jwt. Minification of auth0-angular is ok but for now i have to leave angular-jwt out of minification together with app config part. I am not sure but there might be a problem here in angular-jwt because the tokenGetter is minimized.\r\n\r\n          var tokenPromise = $q.when($injector.invoke(config.tokenGetter, this, {\r\n            config: request\r\n          }));\r\n\r\nAs a workaround i put app config out of minification and use the minified version of angular-jwt. However the biggest problem is to drill down the problem and a solution could help others running into the same issue. At least it took me some hours ;-)\r\n\r\nBest !\r\n\r\n\r\n \r\n"},"comment":{"url":"https://api.github.com/repos/auth0/auth0-angular/issues/comments/68895304","html_url":"https://github.com/auth0/auth0-angular/issues/96#issuecomment-68895304","issue_url":"https://api.github.com/repos/auth0/auth0-angular/issues/96","id":68895304,"user":{"login":"mgonto","id":723723,"avatar_url":"https://avatars.githubusercontent.com/u/723723?v=3","gravatar_id":"","url":"https://api.github.com/users/mgonto","html_url":"https://github.com/mgonto","followers_url":"https://api.github.com/users/mgonto/followers","following_url":"https://api.github.com/users/mgonto/following{/other_user}","gists_url":"https://api.github.com/users/mgonto/gists{/gist_id}","starred_url":"https://api.github.com/users/mgonto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgonto/subscriptions","organizations_url":"https://api.github.com/users/mgonto/orgs","repos_url":"https://api.github.com/users/mgonto/repos","events_url":"https://api.github.com/users/mgonto/events{/privacy}","received_events_url":"https://api.github.com/users/mgonto/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T17:07:32Z","updated_at":"2015-01-06T17:07:32Z","body":"Please read the response from https://github.com/auth0/lock/issues/94#issuecomment-68895137.\r\n\r\nWe're working on a solution"}}