{"action":"created","comment":{"url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/comments/66338977","id":66338977,"diff_hunk":"@@ -0,0 +1,41 @@\n+(function() {\n+  'use strict';\n+\n+  angular\n+    .module('app.show-reserves')\n+    .controller('ShowReservesController', showReservesController);\n+\n+  /* @ngInject */\n+  function showReservesController(ShowReserveService) {\n+    var vm = this;\n+    vm.getReserve = getReserve;\n+\n+    activate();\n+\n+    function activate() {\n+        ShowReserveService.getReserves()\n+        .then(\n+          function(reserves){\n+            createListReserves(reserves);\n+        }); \n+    }\n+\n+    function getReserve(reserve){\n+      alert(reserve.reserveId);\n+    }\n+\n+    function createListReserves(reserves){\n+      vm.listReserves = [];","path":"app/components/reserves/showReserves.controller.js","position":28,"original_position":28,"commit_id":"416bacbde7f4f7242e2b2ae76c64b270a40fe9f7","original_commit_id":"416bacbde7f4f7242e2b2ae76c64b270a40fe9f7","user":{"login":"johnnyxu-pernix","id":19614990,"avatar_url":"https://avatars.githubusercontent.com/u/19614990?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyxu-pernix","html_url":"https://github.com/johnnyxu-pernix","followers_url":"https://api.github.com/users/johnnyxu-pernix/followers","following_url":"https://api.github.com/users/johnnyxu-pernix/following{/other_user}","gists_url":"https://api.github.com/users/johnnyxu-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyxu-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyxu-pernix/subscriptions","organizations_url":"https://api.github.com/users/johnnyxu-pernix/orgs","repos_url":"https://api.github.com/users/johnnyxu-pernix/repos","events_url":"https://api.github.com/users/johnnyxu-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyxu-pernix/received_events","type":"User","site_admin":false},"body":"Maybe a better name for the list would be `reserves`?","created_at":"2016-06-08T21:00:20Z","updated_at":"2016-06-08T21:00:20Z","html_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1#discussion_r66338977","pull_request_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/comments/66338977"},"html":{"href":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1#discussion_r66338977"},"pull_request":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1","id":73117295,"html_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1","diff_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1.diff","patch_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1.patch","issue_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/1","number":1,"state":"open","locked":false,"title":"Show reserve page already, display the user name, reservation number …","user":{"login":"yvallejos","id":19437516,"avatar_url":"https://avatars.githubusercontent.com/u/19437516?v=3","gravatar_id":"","url":"https://api.github.com/users/yvallejos","html_url":"https://github.com/yvallejos","followers_url":"https://api.github.com/users/yvallejos/followers","following_url":"https://api.github.com/users/yvallejos/following{/other_user}","gists_url":"https://api.github.com/users/yvallejos/gists{/gist_id}","starred_url":"https://api.github.com/users/yvallejos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvallejos/subscriptions","organizations_url":"https://api.github.com/users/yvallejos/orgs","repos_url":"https://api.github.com/users/yvallejos/repos","events_url":"https://api.github.com/users/yvallejos/events{/privacy}","received_events_url":"https://api.github.com/users/yvallejos/received_events","type":"User","site_admin":false},"body":"…and date","created_at":"2016-06-08T20:46:03Z","updated_at":"2016-06-08T21:00:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55b87cd107a9b798f4aa307f6eca32846f052108","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/1/comments","statuses_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/statuses/416bacbde7f4f7242e2b2ae76c64b270a40fe9f7","head":{"label":"johnnyxu-pernix:show_reserves","ref":"show_reserves","sha":"416bacbde7f4f7242e2b2ae76c64b270a40fe9f7","user":{"login":"johnnyxu-pernix","id":19614990,"avatar_url":"https://avatars.githubusercontent.com/u/19614990?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyxu-pernix","html_url":"https://github.com/johnnyxu-pernix","followers_url":"https://api.github.com/users/johnnyxu-pernix/followers","following_url":"https://api.github.com/users/johnnyxu-pernix/following{/other_user}","gists_url":"https://api.github.com/users/johnnyxu-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyxu-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyxu-pernix/subscriptions","organizations_url":"https://api.github.com/users/johnnyxu-pernix/orgs","repos_url":"https://api.github.com/users/johnnyxu-pernix/repos","events_url":"https://api.github.com/users/johnnyxu-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyxu-pernix/received_events","type":"User","site_admin":false},"repo":{"id":60111100,"name":"Budget-Reserve-Admin","full_name":"johnnyxu-pernix/Budget-Reserve-Admin","owner":{"login":"johnnyxu-pernix","id":19614990,"avatar_url":"https://avatars.githubusercontent.com/u/19614990?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyxu-pernix","html_url":"https://github.com/johnnyxu-pernix","followers_url":"https://api.github.com/users/johnnyxu-pernix/followers","following_url":"https://api.github.com/users/johnnyxu-pernix/following{/other_user}","gists_url":"https://api.github.com/users/johnnyxu-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyxu-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyxu-pernix/subscriptions","organizations_url":"https://api.github.com/users/johnnyxu-pernix/orgs","repos_url":"https://api.github.com/users/johnnyxu-pernix/repos","events_url":"https://api.github.com/users/johnnyxu-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyxu-pernix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin","description":"Administrative app for Budget-Reserve","fork":false,"url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin","forks_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/forks","keys_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/teams","hooks_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/hooks","issue_events_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/events{/number}","events_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/events","assignees_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/assignees{/user}","branches_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/branches{/branch}","tags_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/tags","blobs_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/statuses/{sha}","languages_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/languages","stargazers_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/stargazers","contributors_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/contributors","subscribers_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/subscribers","subscription_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/subscription","commits_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/contents/{+path}","compare_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/merges","archive_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/downloads","issues_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues{/number}","pulls_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls{/number}","milestones_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/milestones{/number}","notifications_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/labels{/name}","releases_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/releases{/id}","deployments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/deployments","created_at":"2016-05-31T17:51:48Z","updated_at":"2016-06-01T16:05:15Z","pushed_at":"2016-06-08T20:46:03Z","git_url":"git://github.com/johnnyxu-pernix/Budget-Reserve-Admin.git","ssh_url":"git@github.com:johnnyxu-pernix/Budget-Reserve-Admin.git","clone_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin.git","svn_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"ApacheConf","has_issues":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":"develop"}},"base":{"label":"johnnyxu-pernix:develop","ref":"develop","sha":"7bd1c5a500d2d16dce1f252e810a0f425dc1a7bf","user":{"login":"johnnyxu-pernix","id":19614990,"avatar_url":"https://avatars.githubusercontent.com/u/19614990?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyxu-pernix","html_url":"https://github.com/johnnyxu-pernix","followers_url":"https://api.github.com/users/johnnyxu-pernix/followers","following_url":"https://api.github.com/users/johnnyxu-pernix/following{/other_user}","gists_url":"https://api.github.com/users/johnnyxu-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyxu-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyxu-pernix/subscriptions","organizations_url":"https://api.github.com/users/johnnyxu-pernix/orgs","repos_url":"https://api.github.com/users/johnnyxu-pernix/repos","events_url":"https://api.github.com/users/johnnyxu-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyxu-pernix/received_events","type":"User","site_admin":false},"repo":{"id":60111100,"name":"Budget-Reserve-Admin","full_name":"johnnyxu-pernix/Budget-Reserve-Admin","owner":{"login":"johnnyxu-pernix","id":19614990,"avatar_url":"https://avatars.githubusercontent.com/u/19614990?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyxu-pernix","html_url":"https://github.com/johnnyxu-pernix","followers_url":"https://api.github.com/users/johnnyxu-pernix/followers","following_url":"https://api.github.com/users/johnnyxu-pernix/following{/other_user}","gists_url":"https://api.github.com/users/johnnyxu-pernix/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyxu-pernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyxu-pernix/subscriptions","organizations_url":"https://api.github.com/users/johnnyxu-pernix/orgs","repos_url":"https://api.github.com/users/johnnyxu-pernix/repos","events_url":"https://api.github.com/users/johnnyxu-pernix/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyxu-pernix/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin","description":"Administrative app for Budget-Reserve","fork":false,"url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin","forks_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/forks","keys_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/teams","hooks_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/hooks","issue_events_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/events{/number}","events_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/events","assignees_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/assignees{/user}","branches_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/branches{/branch}","tags_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/tags","blobs_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/statuses/{sha}","languages_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/languages","stargazers_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/stargazers","contributors_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/contributors","subscribers_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/subscribers","subscription_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/subscription","commits_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/contents/{+path}","compare_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/merges","archive_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/downloads","issues_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues{/number}","pulls_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls{/number}","milestones_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/milestones{/number}","notifications_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/labels{/name}","releases_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/releases{/id}","deployments_url":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/deployments","created_at":"2016-05-31T17:51:48Z","updated_at":"2016-06-01T16:05:15Z","pushed_at":"2016-06-08T20:46:03Z","git_url":"git://github.com/johnnyxu-pernix/Budget-Reserve-Admin.git","ssh_url":"git@github.com:johnnyxu-pernix/Budget-Reserve-Admin.git","clone_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin.git","svn_url":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin","homepage":null,"size":38,"stargazers_count":0,"watchers_count":0,"language":"ApacheConf","has_issues":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":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1"},"html":{"href":"https://github.com/johnnyxu-pernix/Budget-Reserve-Admin/pull/1"},"issue":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/1"},"comments":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/johnnyxu-pernix/Budget-Reserve-Admin/statuses/416bacbde7f4f7242e2b2ae76c64b270a40fe9f7"}}}}
{"actor":{"display_login":"johnnyxu-pernix"}}