{"action":"created","issue":{"url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/15","labels_url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/15/comments","events_url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/15/events","html_url":"https://github.com/bendrucker/angular-credit-cards/pull/15","id":54012280,"number":15,"title":"Check angular in window before require","user":{"login":"randing89","id":640557,"avatar_url":"https://avatars.githubusercontent.com/u/640557?v=3","gravatar_id":"","url":"https://api.github.com/users/randing89","html_url":"https://github.com/randing89","followers_url":"https://api.github.com/users/randing89/followers","following_url":"https://api.github.com/users/randing89/following{/other_user}","gists_url":"https://api.github.com/users/randing89/gists{/gist_id}","starred_url":"https://api.github.com/users/randing89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randing89/subscriptions","organizations_url":"https://api.github.com/users/randing89/orgs","repos_url":"https://api.github.com/users/randing89/repos","events_url":"https://api.github.com/users/randing89/events{/privacy}","received_events_url":"https://api.github.com/users/randing89/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-12T00:58:17Z","updated_at":"2015-01-12T04:05:54Z","closed_at":"2015-01-12T04:05:54Z","pull_request":{"url":"https://api.github.com/repos/bendrucker/angular-credit-cards/pulls/15","html_url":"https://github.com/bendrucker/angular-credit-cards/pull/15","diff_url":"https://github.com/bendrucker/angular-credit-cards/pull/15.diff","patch_url":"https://github.com/bendrucker/angular-credit-cards/pull/15.patch"},"body":"Wouldn't be better to check if angular is exist in window? \r\nIn my environment require('angular') will give me undefined."},"comment":{"url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/comments/69528293","html_url":"https://github.com/bendrucker/angular-credit-cards/pull/15#issuecomment-69528293","issue_url":"https://api.github.com/repos/bendrucker/angular-credit-cards/issues/15","id":69528293,"user":{"login":"bendrucker","id":808808,"avatar_url":"https://avatars.githubusercontent.com/u/808808?v=3","gravatar_id":"","url":"https://api.github.com/users/bendrucker","html_url":"https://github.com/bendrucker","followers_url":"https://api.github.com/users/bendrucker/followers","following_url":"https://api.github.com/users/bendrucker/following{/other_user}","gists_url":"https://api.github.com/users/bendrucker/gists{/gist_id}","starred_url":"https://api.github.com/users/bendrucker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bendrucker/subscriptions","organizations_url":"https://api.github.com/users/bendrucker/orgs","repos_url":"https://api.github.com/users/bendrucker/repos","events_url":"https://api.github.com/users/bendrucker/events{/privacy}","received_events_url":"https://api.github.com/users/bendrucker/received_events","type":"User","site_admin":false},"created_at":"2015-01-12T04:05:54Z","updated_at":"2015-01-12T04:05:54Z","body":"No, see the UMD build for what's going on. Hopefully there's some equivalent to the behavior of browserify-shim available for webpack."}}