{"action":"created","issue":{"url":"https://api.github.com/repos/rubenv/angular-gettext/issues/163","labels_url":"https://api.github.com/repos/rubenv/angular-gettext/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/rubenv/angular-gettext/issues/163/comments","events_url":"https://api.github.com/repos/rubenv/angular-gettext/issues/163/events","html_url":"https://github.com/rubenv/angular-gettext/pull/163","id":59472077,"number":163,"title":"added promise to loadRemote() method","user":{"login":"mbrammer","id":2786547,"avatar_url":"https://avatars.githubusercontent.com/u/2786547?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrammer","html_url":"https://github.com/mbrammer","followers_url":"https://api.github.com/users/mbrammer/followers","following_url":"https://api.github.com/users/mbrammer/following{/other_user}","gists_url":"https://api.github.com/users/mbrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrammer/subscriptions","organizations_url":"https://api.github.com/users/mbrammer/orgs","repos_url":"https://api.github.com/users/mbrammer/repos","events_url":"https://api.github.com/users/mbrammer/events{/privacy}","received_events_url":"https://api.github.com/users/mbrammer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-02T11:57:08Z","updated_at":"2015-03-02T12:09:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rubenv/angular-gettext/pulls/163","html_url":"https://github.com/rubenv/angular-gettext/pull/163","diff_url":"https://github.com/rubenv/angular-gettext/pull/163.diff","patch_url":"https://github.com/rubenv/angular-gettext/pull/163.patch"},"body":"Hi,\r\n\r\nbecause I needed a loadRemote promise, I forked your repo and added the functionality.\r\nSo it's possible now to work with the loaded data in controllers, after the file is loaded.\r\n```\r\ngettextCatalog.loadRemote('locales/en_US/foobar.json').then(function(data) { //data optionally returns the local object\r\n    console.log(gettextCatalog.getString('lorem-ipsum'));\r\n});\r\n```\r\n\r\nIt would be nice if you take a look at the PR and add the code to your master, so that I can upgrade to later angular-gettext version without merging.\r\nThanks ;)"},"comment":{"url":"https://api.github.com/repos/rubenv/angular-gettext/issues/comments/76701499","html_url":"https://github.com/rubenv/angular-gettext/pull/163#issuecomment-76701499","issue_url":"https://api.github.com/repos/rubenv/angular-gettext/issues/163","id":76701499,"user":{"login":"mbrammer","id":2786547,"avatar_url":"https://avatars.githubusercontent.com/u/2786547?v=3","gravatar_id":"","url":"https://api.github.com/users/mbrammer","html_url":"https://github.com/mbrammer","followers_url":"https://api.github.com/users/mbrammer/followers","following_url":"https://api.github.com/users/mbrammer/following{/other_user}","gists_url":"https://api.github.com/users/mbrammer/gists{/gist_id}","starred_url":"https://api.github.com/users/mbrammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbrammer/subscriptions","organizations_url":"https://api.github.com/users/mbrammer/orgs","repos_url":"https://api.github.com/users/mbrammer/repos","events_url":"https://api.github.com/users/mbrammer/events{/privacy}","received_events_url":"https://api.github.com/users/mbrammer/received_events","type":"User","site_admin":false},"created_at":"2015-03-02T12:09:27Z","updated_at":"2015-03-02T12:09:27Z","body":"Damn! You're right! Didn't know that :D Okay, ignore my PR ;)"}}