Playing around with $resource and the excellent Github API.