{"action":"created","issue":{"url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/24","labels_url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/24/comments","events_url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/24/events","html_url":"https://github.com/angular-pouchdb/angular-pouchdb/issues/24","id":53341996,"number":24,"title":"Replace qify with $q.when","user":{"login":"tlvince","id":323761,"avatar_url":"https://avatars.githubusercontent.com/u/323761?v=3","gravatar_id":"","url":"https://api.github.com/users/tlvince","html_url":"https://github.com/tlvince","followers_url":"https://api.github.com/users/tlvince/followers","following_url":"https://api.github.com/users/tlvince/following{/other_user}","gists_url":"https://api.github.com/users/tlvince/gists{/gist_id}","starred_url":"https://api.github.com/users/tlvince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlvince/subscriptions","organizations_url":"https://api.github.com/users/tlvince/orgs","repos_url":"https://api.github.com/users/tlvince/repos","events_url":"https://api.github.com/users/tlvince/events{/privacy}","received_events_url":"https://api.github.com/users/tlvince/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/milestones/1","labels_url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/milestones/1/labels","id":921029,"number":1,"title":"v1.1.0","description":"","creator":{"login":"tlvince","id":323761,"avatar_url":"https://avatars.githubusercontent.com/u/323761?v=3","gravatar_id":"","url":"https://api.github.com/users/tlvince","html_url":"https://github.com/tlvince","followers_url":"https://api.github.com/users/tlvince/followers","following_url":"https://api.github.com/users/tlvince/following{/other_user}","gists_url":"https://api.github.com/users/tlvince/gists{/gist_id}","starred_url":"https://api.github.com/users/tlvince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlvince/subscriptions","organizations_url":"https://api.github.com/users/tlvince/orgs","repos_url":"https://api.github.com/users/tlvince/repos","events_url":"https://api.github.com/users/tlvince/events{/privacy}","received_events_url":"https://api.github.com/users/tlvince/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":0,"state":"open","created_at":"2015-01-04T14:59:07Z","updated_at":"2015-01-04T17:16:02Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-01-04T17:12:41Z","updated_at":"2015-01-04T17:19:11Z","closed_at":null,"body":"Angular has a built-in way to wrap third-party promises via [$q.when](https://docs.angularjs.org/api/ng/service/$q):\r\n\r\n> Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.\r\n\r\nThat way, we can avoid handling `$rootScope.$apply` altogether."},"comment":{"url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/comments/68640565","html_url":"https://github.com/angular-pouchdb/angular-pouchdb/issues/24#issuecomment-68640565","issue_url":"https://api.github.com/repos/angular-pouchdb/angular-pouchdb/issues/24","id":68640565,"user":{"login":"tlvince","id":323761,"avatar_url":"https://avatars.githubusercontent.com/u/323761?v=3","gravatar_id":"","url":"https://api.github.com/users/tlvince","html_url":"https://github.com/tlvince","followers_url":"https://api.github.com/users/tlvince/followers","following_url":"https://api.github.com/users/tlvince/following{/other_user}","gists_url":"https://api.github.com/users/tlvince/gists{/gist_id}","starred_url":"https://api.github.com/users/tlvince/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tlvince/subscriptions","organizations_url":"https://api.github.com/users/tlvince/orgs","repos_url":"https://api.github.com/users/tlvince/repos","events_url":"https://api.github.com/users/tlvince/events{/privacy}","received_events_url":"https://api.github.com/users/tlvince/received_events","type":"User","site_admin":false},"created_at":"2015-01-04T17:19:11Z","updated_at":"2015-01-04T17:19:11Z","body":"Working on it (in [develop](https://github.com/angular-pouchdb/angular-pouchdb/compare/develop))."}}