{"action":"created","issue":{"url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/225","labels_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/225/labels{/name}","comments_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/225/comments","events_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/225/events","html_url":"https://github.com/teropa/build-your-own-angularjs/issues/225","id":60136722,"number":225,"title":"P56 - Forgot to pass scope to listenerFn","user":{"login":"fvanwijk","id":963136,"avatar_url":"https://avatars.githubusercontent.com/u/963136?v=3","gravatar_id":"","url":"https://api.github.com/users/fvanwijk","html_url":"https://github.com/fvanwijk","followers_url":"https://api.github.com/users/fvanwijk/followers","following_url":"https://api.github.com/users/fvanwijk/following{/other_user}","gists_url":"https://api.github.com/users/fvanwijk/gists{/gist_id}","starred_url":"https://api.github.com/users/fvanwijk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvanwijk/subscriptions","organizations_url":"https://api.github.com/users/fvanwijk/orgs","repos_url":"https://api.github.com/users/fvanwijk/repos","events_url":"https://api.github.com/users/fvanwijk/events{/privacy}","received_events_url":"https://api.github.com/users/fvanwijk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T18:03:58Z","updated_at":"2015-04-05T09:30:28Z","closed_at":"2015-04-05T09:30:28Z","body":"When calling the `listenerFn` in `Scope.prototype.$watchGroup`, you forgot to pass the scope as third argument. This is corrected in the updated `$watchGroup` implementation on P58, but confused me a bit.\r\n\r\nAlso you need to switch `oldVales` and `newValues` (`newValues` first)."},"comment":{"url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/comments/89742505","html_url":"https://github.com/teropa/build-your-own-angularjs/issues/225#issuecomment-89742505","issue_url":"https://api.github.com/repos/teropa/build-your-own-angularjs/issues/225","id":89742505,"user":{"login":"teropa","id":47968,"avatar_url":"https://avatars.githubusercontent.com/u/47968?v=3","gravatar_id":"","url":"https://api.github.com/users/teropa","html_url":"https://github.com/teropa","followers_url":"https://api.github.com/users/teropa/followers","following_url":"https://api.github.com/users/teropa/following{/other_user}","gists_url":"https://api.github.com/users/teropa/gists{/gist_id}","starred_url":"https://api.github.com/users/teropa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teropa/subscriptions","organizations_url":"https://api.github.com/users/teropa/orgs","repos_url":"https://api.github.com/users/teropa/repos","events_url":"https://api.github.com/users/teropa/events{/privacy}","received_events_url":"https://api.github.com/users/teropa/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T09:30:28Z","updated_at":"2015-04-05T09:30:28Z","body":"Fixed, thanks"}}