{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1974","repository_url":"https://api.github.com/repos/angular-ui/angular-google-maps","labels_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1974/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1974/comments","events_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1974/events","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1974","id":188004292,"number":1974,"title":"Refactor use of methods `success` and `error` of `$http` service","user":{"login":"mjeanroy","id":1067361,"avatar_url":"https://avatars.githubusercontent.com/u/1067361?v=3","gravatar_id":"","url":"https://api.github.com/users/mjeanroy","html_url":"https://github.com/mjeanroy","followers_url":"https://api.github.com/users/mjeanroy/followers","following_url":"https://api.github.com/users/mjeanroy/following{/other_user}","gists_url":"https://api.github.com/users/mjeanroy/gists{/gist_id}","starred_url":"https://api.github.com/users/mjeanroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjeanroy/subscriptions","organizations_url":"https://api.github.com/users/mjeanroy/orgs","repos_url":"https://api.github.com/users/mjeanroy/repos","events_url":"https://api.github.com/users/mjeanroy/events{/privacy}","received_events_url":"https://api.github.com/users/mjeanroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-08T14:22:49Z","updated_at":"2016-11-08T15:44:23Z","closed_at":null,"body":"[Angular 1.6 RC0 has been released](https://github.com/angular/angular.js/blob/master/CHANGELOG.md) and the deprecated `success` and `error` callbacks of `$http` service have been removed. These methods are currently used in `angular-google-map` (at least [here](https://github.com/angular-ui/angular-google-maps/blob/master/src/coffee/directives/search-box.coffee#L45)), so it could be great to update the library to use official `then` callback.\r\n\r\n@nmccready I know this library is not actively maintained, but most of projects won't be able to migrate to a new library. Would you be open for a pull request to fix this?\r\n"},"comment":{"url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/comments/259171926","html_url":"https://github.com/angular-ui/angular-google-maps/issues/1974#issuecomment-259171926","issue_url":"https://api.github.com/repos/angular-ui/angular-google-maps/issues/1974","id":259171926,"user":{"login":"nmccready","id":583593,"avatar_url":"https://avatars.githubusercontent.com/u/583593?v=3","gravatar_id":"","url":"https://api.github.com/users/nmccready","html_url":"https://github.com/nmccready","followers_url":"https://api.github.com/users/nmccready/followers","following_url":"https://api.github.com/users/nmccready/following{/other_user}","gists_url":"https://api.github.com/users/nmccready/gists{/gist_id}","starred_url":"https://api.github.com/users/nmccready/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmccready/subscriptions","organizations_url":"https://api.github.com/users/nmccready/orgs","repos_url":"https://api.github.com/users/nmccready/repos","events_url":"https://api.github.com/users/nmccready/events{/privacy}","received_events_url":"https://api.github.com/users/nmccready/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T15:44:23Z","updated_at":"2016-11-08T15:44:23Z","body":"nvm I figured out the problem, success callback took care of pulling out the data parameter. So adding `.then ({data}) ->` fixes it."}}
{"actor":{"display_login":"nmccready"}}