AngularJS directive for getting a user's repositories from github