{"action":"opened","issue":{"url":"https://api.github.com/repos/oauth-io/oauth-js/issues/80","repository_url":"https://api.github.com/repos/oauth-io/oauth-js","labels_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/80/comments","events_url":"https://api.github.com/repos/oauth-io/oauth-js/issues/80/events","html_url":"https://github.com/oauth-io/oauth-js/issues/80","id":130974371,"number":80,"title":"Use with Gulp and angular.","user":{"login":"georgi-kovachev","id":6533251,"avatar_url":"https://avatars.githubusercontent.com/u/6533251?v=3","gravatar_id":"","url":"https://api.github.com/users/georgi-kovachev","html_url":"https://github.com/georgi-kovachev","followers_url":"https://api.github.com/users/georgi-kovachev/followers","following_url":"https://api.github.com/users/georgi-kovachev/following{/other_user}","gists_url":"https://api.github.com/users/georgi-kovachev/gists{/gist_id}","starred_url":"https://api.github.com/users/georgi-kovachev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgi-kovachev/subscriptions","organizations_url":"https://api.github.com/users/georgi-kovachev/orgs","repos_url":"https://api.github.com/users/georgi-kovachev/repos","events_url":"https://api.github.com/users/georgi-kovachev/events{/privacy}","received_events_url":"https://api.github.com/users/georgi-kovachev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-03T09:55:57Z","updated_at":"2016-02-03T09:55:57Z","closed_at":null,"body":"I installed oauth.io including in package.json file and it is concatenated using gulp.\r\n\r\nWhenever I use OAuth.initialize('key');\r\nI get 'not defined' error.\r\n\r\nFYI, the code looks like\r\nfunction LoginFormController($http, $state, AuthService) {\r\n  OAuth.initialize('q5KYSG6pSpfn4wlygftnErNAbeM');\r\n}"}}