{"action":"created","comment":{"url":"https://api.github.com/repos/andela/isildur-cfh/pulls/comments/137553083","pull_request_review_id":61236633,"id":137553083,"diff_hunk":"@@ -1,9 +1,52 @@\n angular.module('mean.system')\n   .controller('IndexController',\n-    ['$scope', 'Global', '$location', 'socket', 'game', 'AvatarService',\n-      ($scope, Global, $location, socket, game, AvatarService) => {\n+    [\n+      '$scope',\n+      'Global',\n+      '$location',\n+      'socket',\n+      'game',\n+      'AvatarService',\n+      '$http',\n+      '$window',\n+      (","path":"public/js/controllers/index.js","position":14,"original_position":14,"commit_id":"00287f6842461a8a5d4172c008f4d90f5eef5c66","original_commit_id":"00287f6842461a8a5d4172c008f4d90f5eef5c66","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Expected indentation of 4 spaces but found 6  indent","created_at":"2017-09-07T14:23:02Z","updated_at":"2017-09-07T14:23:03Z","html_url":"https://github.com/andela/isildur-cfh/pull/20#discussion_r137553083","pull_request_url":"https://api.github.com/repos/andela/isildur-cfh/pulls/20","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/comments/137553083"},"html":{"href":"https://github.com/andela/isildur-cfh/pull/20#discussion_r137553083"},"pull_request":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/andela/isildur-cfh/pulls/20","id":139818560,"html_url":"https://github.com/andela/isildur-cfh/pull/20","diff_url":"https://github.com/andela/isildur-cfh/pull/20.diff","patch_url":"https://github.com/andela/isildur-cfh/pull/20.patch","issue_url":"https://api.github.com/repos/andela/isildur-cfh/issues/20","number":20,"state":"open","locked":false,"title":"Feature/150398706/receive jwt on signup","user":{"login":"fob413","id":17882359,"avatar_url":"https://avatars2.githubusercontent.com/u/17882359?v=4","gravatar_id":"","url":"https://api.github.com/users/fob413","html_url":"https://github.com/fob413","followers_url":"https://api.github.com/users/fob413/followers","following_url":"https://api.github.com/users/fob413/following{/other_user}","gists_url":"https://api.github.com/users/fob413/gists{/gist_id}","starred_url":"https://api.github.com/users/fob413/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fob413/subscriptions","organizations_url":"https://api.github.com/users/fob413/orgs","repos_url":"https://api.github.com/users/fob413/repos","events_url":"https://api.github.com/users/fob413/events{/privacy}","received_events_url":"https://api.github.com/users/fob413/received_events","type":"User","site_admin":false},"body":"What does this PR do?\r\n\r\nUser receives JWT on successful sign up\r\n\r\nDescription of Task to be completed?\r\n\r\nUsers once authenticated via the signup api should be returned a JWT to be required on subsequent call to all other endpoints that require authentication.\r\n\r\nHow should this be manually tested?\r\n\r\nSignup a new user and check the local storage for the jwt token\r\n\r\nWhat are the relevant pivotal tracker stories?\r\n\r\nhttps://www.pivotaltracker.com/story/show/150398706","created_at":"2017-09-07T14:22:49Z","updated_at":"2017-09-07T14:23:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4e3d59c5859252f40c47db0e94d113fc213ae6b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/andela/isildur-cfh/pulls/20/commits","review_comments_url":"https://api.github.com/repos/andela/isildur-cfh/pulls/20/comments","review_comment_url":"https://api.github.com/repos/andela/isildur-cfh/pulls/comments{/number}","comments_url":"https://api.github.com/repos/andela/isildur-cfh/issues/20/comments","statuses_url":"https://api.github.com/repos/andela/isildur-cfh/statuses/00287f6842461a8a5d4172c008f4d90f5eef5c66","head":{"label":"andela:feature/150398706/receive-jwt-on-signup","ref":"feature/150398706/receive-jwt-on-signup","sha":"00287f6842461a8a5d4172c008f4d90f5eef5c66","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":100930956,"name":"isildur-cfh","full_name":"andela/isildur-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/isildur-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/isildur-cfh","forks_url":"https://api.github.com/repos/andela/isildur-cfh/forks","keys_url":"https://api.github.com/repos/andela/isildur-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/isildur-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/isildur-cfh/teams","hooks_url":"https://api.github.com/repos/andela/isildur-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/isildur-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/isildur-cfh/events","assignees_url":"https://api.github.com/repos/andela/isildur-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/isildur-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/isildur-cfh/tags","blobs_url":"https://api.github.com/repos/andela/isildur-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/isildur-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/isildur-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/isildur-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/isildur-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/isildur-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/isildur-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/isildur-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/isildur-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/isildur-cfh/subscription","commits_url":"https://api.github.com/repos/andela/isildur-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/isildur-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/isildur-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/isildur-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/isildur-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/isildur-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/isildur-cfh/merges","archive_url":"https://api.github.com/repos/andela/isildur-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/isildur-cfh/downloads","issues_url":"https://api.github.com/repos/andela/isildur-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/isildur-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/isildur-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/isildur-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/isildur-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/isildur-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/isildur-cfh/deployments","created_at":"2017-08-21T08:33:57Z","updated_at":"2017-09-02T09:32:28Z","pushed_at":"2017-09-07T14:22:50Z","git_url":"git://github.com/andela/isildur-cfh.git","ssh_url":"git@github.com:andela/isildur-cfh.git","clone_url":"https://github.com/andela/isildur-cfh.git","svn_url":"https://github.com/andela/isildur-cfh","homepage":null,"size":13042,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"staging"}},"base":{"label":"andela:staging","ref":"staging","sha":"eff2be390817eb1cc91dc7483d587acb468af663","user":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"repo":{"id":100930956,"name":"isildur-cfh","full_name":"andela/isildur-cfh","owner":{"login":"andela","id":4100206,"avatar_url":"https://avatars2.githubusercontent.com/u/4100206?v=4","gravatar_id":"","url":"https://api.github.com/users/andela","html_url":"https://github.com/andela","followers_url":"https://api.github.com/users/andela/followers","following_url":"https://api.github.com/users/andela/following{/other_user}","gists_url":"https://api.github.com/users/andela/gists{/gist_id}","starred_url":"https://api.github.com/users/andela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andela/subscriptions","organizations_url":"https://api.github.com/users/andela/orgs","repos_url":"https://api.github.com/users/andela/repos","events_url":"https://api.github.com/users/andela/events{/privacy}","received_events_url":"https://api.github.com/users/andela/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/andela/isildur-cfh","description":null,"fork":false,"url":"https://api.github.com/repos/andela/isildur-cfh","forks_url":"https://api.github.com/repos/andela/isildur-cfh/forks","keys_url":"https://api.github.com/repos/andela/isildur-cfh/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andela/isildur-cfh/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andela/isildur-cfh/teams","hooks_url":"https://api.github.com/repos/andela/isildur-cfh/hooks","issue_events_url":"https://api.github.com/repos/andela/isildur-cfh/issues/events{/number}","events_url":"https://api.github.com/repos/andela/isildur-cfh/events","assignees_url":"https://api.github.com/repos/andela/isildur-cfh/assignees{/user}","branches_url":"https://api.github.com/repos/andela/isildur-cfh/branches{/branch}","tags_url":"https://api.github.com/repos/andela/isildur-cfh/tags","blobs_url":"https://api.github.com/repos/andela/isildur-cfh/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andela/isildur-cfh/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andela/isildur-cfh/git/refs{/sha}","trees_url":"https://api.github.com/repos/andela/isildur-cfh/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andela/isildur-cfh/statuses/{sha}","languages_url":"https://api.github.com/repos/andela/isildur-cfh/languages","stargazers_url":"https://api.github.com/repos/andela/isildur-cfh/stargazers","contributors_url":"https://api.github.com/repos/andela/isildur-cfh/contributors","subscribers_url":"https://api.github.com/repos/andela/isildur-cfh/subscribers","subscription_url":"https://api.github.com/repos/andela/isildur-cfh/subscription","commits_url":"https://api.github.com/repos/andela/isildur-cfh/commits{/sha}","git_commits_url":"https://api.github.com/repos/andela/isildur-cfh/git/commits{/sha}","comments_url":"https://api.github.com/repos/andela/isildur-cfh/comments{/number}","issue_comment_url":"https://api.github.com/repos/andela/isildur-cfh/issues/comments{/number}","contents_url":"https://api.github.com/repos/andela/isildur-cfh/contents/{+path}","compare_url":"https://api.github.com/repos/andela/isildur-cfh/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andela/isildur-cfh/merges","archive_url":"https://api.github.com/repos/andela/isildur-cfh/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andela/isildur-cfh/downloads","issues_url":"https://api.github.com/repos/andela/isildur-cfh/issues{/number}","pulls_url":"https://api.github.com/repos/andela/isildur-cfh/pulls{/number}","milestones_url":"https://api.github.com/repos/andela/isildur-cfh/milestones{/number}","notifications_url":"https://api.github.com/repos/andela/isildur-cfh/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andela/isildur-cfh/labels{/name}","releases_url":"https://api.github.com/repos/andela/isildur-cfh/releases{/id}","deployments_url":"https://api.github.com/repos/andela/isildur-cfh/deployments","created_at":"2017-08-21T08:33:57Z","updated_at":"2017-09-02T09:32:28Z","pushed_at":"2017-09-07T14:22:50Z","git_url":"git://github.com/andela/isildur-cfh.git","ssh_url":"git@github.com:andela/isildur-cfh.git","clone_url":"https://github.com/andela/isildur-cfh.git","svn_url":"https://github.com/andela/isildur-cfh","homepage":null,"size":13042,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/20"},"html":{"href":"https://github.com/andela/isildur-cfh/pull/20"},"issue":{"href":"https://api.github.com/repos/andela/isildur-cfh/issues/20"},"comments":{"href":"https://api.github.com/repos/andela/isildur-cfh/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/andela/isildur-cfh/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/andela/isildur-cfh/statuses/00287f6842461a8a5d4172c008f4d90f5eef5c66"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}