{"action":"created","issue":{"url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/90","labels_url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/90/comments","events_url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/90/events","html_url":"https://github.com/tkem/mopidy-mobile/issues/90","id":80411679,"number":90,"title":"Use angular events","user":{"login":"tkem","id":2833077,"avatar_url":"https://avatars.githubusercontent.com/u/2833077?v=3","gravatar_id":"","url":"https://api.github.com/users/tkem","html_url":"https://github.com/tkem","followers_url":"https://api.github.com/users/tkem/followers","following_url":"https://api.github.com/users/tkem/following{/other_user}","gists_url":"https://api.github.com/users/tkem/gists{/gist_id}","starred_url":"https://api.github.com/users/tkem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkem/subscriptions","organizations_url":"https://api.github.com/users/tkem/orgs","repos_url":"https://api.github.com/users/tkem/repos","events_url":"https://api.github.com/users/tkem/events{/privacy}","received_events_url":"https://api.github.com/users/tkem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-25T06:18:18Z","updated_at":"2015-05-25T06:49:44Z","closed_at":null,"body":"Mopidy events should be `$broadcast`ed on the `$rootScope`. Mopidy's `event` object can be passes as `args`. Event names should be prefixed with `mopidy:`.\nThis allows to remove all the `$destroy` deregistration stuff, and reduce complexity in `connection`. Future event arguments (`tracklist.getOptions()`) can be shimmed. The mopidy instance could be passed as an additional argument, if still needed. Not sure what to do with the connection `online` and `offline` events, as for now."},"comment":{"url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/comments/105141525","html_url":"https://github.com/tkem/mopidy-mobile/issues/90#issuecomment-105141525","issue_url":"https://api.github.com/repos/tkem/mopidy-mobile/issues/90","id":105141525,"user":{"login":"tkem","id":2833077,"avatar_url":"https://avatars.githubusercontent.com/u/2833077?v=3","gravatar_id":"","url":"https://api.github.com/users/tkem","html_url":"https://github.com/tkem","followers_url":"https://api.github.com/users/tkem/followers","following_url":"https://api.github.com/users/tkem/following{/other_user}","gists_url":"https://api.github.com/users/tkem/gists{/gist_id}","starred_url":"https://api.github.com/users/tkem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkem/subscriptions","organizations_url":"https://api.github.com/users/tkem/orgs","repos_url":"https://api.github.com/users/tkem/repos","events_url":"https://api.github.com/users/tkem/events{/privacy}","received_events_url":"https://api.github.com/users/tkem/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T06:49:44Z","updated_at":"2015-05-25T06:49:44Z","body":"Full event args as commonly needed by listeners should *always* be included in events, so no need to fetch same info twice, e.g. `tracklistChanged` should be passed full tracklist!"}}