{"action":"created","comment":{"url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/comments/71815240","id":71815240,"diff_hunk":"@@ -1,20 +1,11 @@\n angular.module('blogDetail', []);\n angular.module('blogDetail').component('blogDetail', {\n   templateUrl: 'components/blog/blog-detail/blog-detail.template.html',\n-  controller: ['$http', '$filter', '$routeParams', function BlogDetailController($http, $filter, $routeParams) {\n-    var self = this;\n-    self.orderProp = 'date';\n-    $http.get('components/blog/blog.data.json').then(function(response) {\n-      self.blog = $filter('filter')(response.data, {\n-        id: $routeParams.blogId\n-      });\n-      self.blogs = $filter('filter')(response.data, {\n-        id: '!' + $routeParams.blogId\n-      });\n-    });\n-    self.newComment = {};\n-    self.addComment = function(blog) {\n-      blog.comments.push(self.newComment);\n-    };\n+  bindings: {\n+    blog: '<'\n+  },\n+  controller: [function BlogDetailCtrl() {\n+    var ctrl = this;\n+    ctrl.tab = 1;","path":"client/components/blog/blog-detail/blog-detail.component.js","position":24,"original_position":24,"commit_id":"aef080a19ef1bddcb5a148d34649beefcbbe89ec","original_commit_id":"aef080a19ef1bddcb5a148d34649beefcbbe89ec","user":{"login":"yurykozhenov","id":18726837,"avatar_url":"https://avatars.githubusercontent.com/u/18726837?v=3","gravatar_id":"","url":"https://api.github.com/users/yurykozhenov","html_url":"https://github.com/yurykozhenov","followers_url":"https://api.github.com/users/yurykozhenov/followers","following_url":"https://api.github.com/users/yurykozhenov/following{/other_user}","gists_url":"https://api.github.com/users/yurykozhenov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurykozhenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurykozhenov/subscriptions","organizations_url":"https://api.github.com/users/yurykozhenov/orgs","repos_url":"https://api.github.com/users/yurykozhenov/repos","events_url":"https://api.github.com/users/yurykozhenov/events{/privacy}","received_events_url":"https://api.github.com/users/yurykozhenov/received_events","type":"User","site_admin":false},"body":"А для чого тут ця змінна?","created_at":"2016-07-22T01:26:53Z","updated_at":"2016-07-22T01:26:53Z","html_url":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36#discussion_r71815240","pull_request_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/comments/71815240"},"html":{"href":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36#discussion_r71815240"},"pull_request":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36","id":78270779,"html_url":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36","diff_url":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36.diff","patch_url":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36.patch","issue_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/36","number":36,"state":"open","locked":false,"title":"Blog sidebar","user":{"login":"SergiiSemenkiv","id":19345568,"avatar_url":"https://avatars.githubusercontent.com/u/19345568?v=3","gravatar_id":"","url":"https://api.github.com/users/SergiiSemenkiv","html_url":"https://github.com/SergiiSemenkiv","followers_url":"https://api.github.com/users/SergiiSemenkiv/followers","following_url":"https://api.github.com/users/SergiiSemenkiv/following{/other_user}","gists_url":"https://api.github.com/users/SergiiSemenkiv/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiiSemenkiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiiSemenkiv/subscriptions","organizations_url":"https://api.github.com/users/SergiiSemenkiv/orgs","repos_url":"https://api.github.com/users/SergiiSemenkiv/repos","events_url":"https://api.github.com/users/SergiiSemenkiv/events{/privacy}","received_events_url":"https://api.github.com/users/SergiiSemenkiv/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-21T07:40:10Z","updated_at":"2016-07-22T01:26:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f42cef1f2a989ca9a28779fde76f3bd53bc023fc","assignee":{"login":"SergiiSemenkiv","id":19345568,"avatar_url":"https://avatars.githubusercontent.com/u/19345568?v=3","gravatar_id":"","url":"https://api.github.com/users/SergiiSemenkiv","html_url":"https://github.com/SergiiSemenkiv","followers_url":"https://api.github.com/users/SergiiSemenkiv/followers","following_url":"https://api.github.com/users/SergiiSemenkiv/following{/other_user}","gists_url":"https://api.github.com/users/SergiiSemenkiv/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiiSemenkiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiiSemenkiv/subscriptions","organizations_url":"https://api.github.com/users/SergiiSemenkiv/orgs","repos_url":"https://api.github.com/users/SergiiSemenkiv/repos","events_url":"https://api.github.com/users/SergiiSemenkiv/events{/privacy}","received_events_url":"https://api.github.com/users/SergiiSemenkiv/received_events","type":"User","site_admin":false},"assignees":[{"login":"SergiiSemenkiv","id":19345568,"avatar_url":"https://avatars.githubusercontent.com/u/19345568?v=3","gravatar_id":"","url":"https://api.github.com/users/SergiiSemenkiv","html_url":"https://github.com/SergiiSemenkiv","followers_url":"https://api.github.com/users/SergiiSemenkiv/followers","following_url":"https://api.github.com/users/SergiiSemenkiv/following{/other_user}","gists_url":"https://api.github.com/users/SergiiSemenkiv/gists{/gist_id}","starred_url":"https://api.github.com/users/SergiiSemenkiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergiiSemenkiv/subscriptions","organizations_url":"https://api.github.com/users/SergiiSemenkiv/orgs","repos_url":"https://api.github.com/users/SergiiSemenkiv/repos","events_url":"https://api.github.com/users/SergiiSemenkiv/events{/privacy}","received_events_url":"https://api.github.com/users/SergiiSemenkiv/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/36/comments","statuses_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/statuses/aef080a19ef1bddcb5a148d34649beefcbbe89ec","head":{"label":"Social-projects-Rivne:blog-sidebar","ref":"blog-sidebar","sha":"aef080a19ef1bddcb5a148d34649beefcbbe89ec","user":{"login":"Social-projects-Rivne","id":13674166,"avatar_url":"https://avatars.githubusercontent.com/u/13674166?v=3","gravatar_id":"","url":"https://api.github.com/users/Social-projects-Rivne","html_url":"https://github.com/Social-projects-Rivne","followers_url":"https://api.github.com/users/Social-projects-Rivne/followers","following_url":"https://api.github.com/users/Social-projects-Rivne/following{/other_user}","gists_url":"https://api.github.com/users/Social-projects-Rivne/gists{/gist_id}","starred_url":"https://api.github.com/users/Social-projects-Rivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Social-projects-Rivne/subscriptions","organizations_url":"https://api.github.com/users/Social-projects-Rivne/orgs","repos_url":"https://api.github.com/users/Social-projects-Rivne/repos","events_url":"https://api.github.com/users/Social-projects-Rivne/events{/privacy}","received_events_url":"https://api.github.com/users/Social-projects-Rivne/received_events","type":"Organization","site_admin":false},"repo":{"id":58928004,"name":"GreenTourism","full_name":"Social-projects-Rivne/GreenTourism","owner":{"login":"Social-projects-Rivne","id":13674166,"avatar_url":"https://avatars.githubusercontent.com/u/13674166?v=3","gravatar_id":"","url":"https://api.github.com/users/Social-projects-Rivne","html_url":"https://github.com/Social-projects-Rivne","followers_url":"https://api.github.com/users/Social-projects-Rivne/followers","following_url":"https://api.github.com/users/Social-projects-Rivne/following{/other_user}","gists_url":"https://api.github.com/users/Social-projects-Rivne/gists{/gist_id}","starred_url":"https://api.github.com/users/Social-projects-Rivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Social-projects-Rivne/subscriptions","organizations_url":"https://api.github.com/users/Social-projects-Rivne/orgs","repos_url":"https://api.github.com/users/Social-projects-Rivne/repos","events_url":"https://api.github.com/users/Social-projects-Rivne/events{/privacy}","received_events_url":"https://api.github.com/users/Social-projects-Rivne/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Social-projects-Rivne/GreenTourism","description":"","fork":false,"url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism","forks_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/forks","keys_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/teams","hooks_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/hooks","issue_events_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/events{/number}","events_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/events","assignees_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/assignees{/user}","branches_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/branches{/branch}","tags_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/tags","blobs_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/refs{/sha}","trees_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/statuses/{sha}","languages_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/languages","stargazers_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/stargazers","contributors_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/contributors","subscribers_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/subscribers","subscription_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/subscription","commits_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/commits{/sha}","git_commits_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/commits{/sha}","comments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/comments{/number}","issue_comment_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/comments{/number}","contents_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/contents/{+path}","compare_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/merges","archive_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/downloads","issues_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues{/number}","pulls_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls{/number}","milestones_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/milestones{/number}","notifications_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/labels{/name}","releases_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/releases{/id}","deployments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/deployments","created_at":"2016-05-16T11:39:27Z","updated_at":"2016-07-13T21:51:14Z","pushed_at":"2016-07-22T01:17:49Z","git_url":"git://github.com/Social-projects-Rivne/GreenTourism.git","ssh_url":"git@github.com:Social-projects-Rivne/GreenTourism.git","clone_url":"https://github.com/Social-projects-Rivne/GreenTourism.git","svn_url":"https://github.com/Social-projects-Rivne/GreenTourism","homepage":null,"size":61283,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"Social-projects-Rivne:dev","ref":"dev","sha":"0e412bd38b3c4721cdd166dd1ddc609ad4ff6c6f","user":{"login":"Social-projects-Rivne","id":13674166,"avatar_url":"https://avatars.githubusercontent.com/u/13674166?v=3","gravatar_id":"","url":"https://api.github.com/users/Social-projects-Rivne","html_url":"https://github.com/Social-projects-Rivne","followers_url":"https://api.github.com/users/Social-projects-Rivne/followers","following_url":"https://api.github.com/users/Social-projects-Rivne/following{/other_user}","gists_url":"https://api.github.com/users/Social-projects-Rivne/gists{/gist_id}","starred_url":"https://api.github.com/users/Social-projects-Rivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Social-projects-Rivne/subscriptions","organizations_url":"https://api.github.com/users/Social-projects-Rivne/orgs","repos_url":"https://api.github.com/users/Social-projects-Rivne/repos","events_url":"https://api.github.com/users/Social-projects-Rivne/events{/privacy}","received_events_url":"https://api.github.com/users/Social-projects-Rivne/received_events","type":"Organization","site_admin":false},"repo":{"id":58928004,"name":"GreenTourism","full_name":"Social-projects-Rivne/GreenTourism","owner":{"login":"Social-projects-Rivne","id":13674166,"avatar_url":"https://avatars.githubusercontent.com/u/13674166?v=3","gravatar_id":"","url":"https://api.github.com/users/Social-projects-Rivne","html_url":"https://github.com/Social-projects-Rivne","followers_url":"https://api.github.com/users/Social-projects-Rivne/followers","following_url":"https://api.github.com/users/Social-projects-Rivne/following{/other_user}","gists_url":"https://api.github.com/users/Social-projects-Rivne/gists{/gist_id}","starred_url":"https://api.github.com/users/Social-projects-Rivne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Social-projects-Rivne/subscriptions","organizations_url":"https://api.github.com/users/Social-projects-Rivne/orgs","repos_url":"https://api.github.com/users/Social-projects-Rivne/repos","events_url":"https://api.github.com/users/Social-projects-Rivne/events{/privacy}","received_events_url":"https://api.github.com/users/Social-projects-Rivne/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Social-projects-Rivne/GreenTourism","description":"","fork":false,"url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism","forks_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/forks","keys_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/teams","hooks_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/hooks","issue_events_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/events{/number}","events_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/events","assignees_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/assignees{/user}","branches_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/branches{/branch}","tags_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/tags","blobs_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/refs{/sha}","trees_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/statuses/{sha}","languages_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/languages","stargazers_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/stargazers","contributors_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/contributors","subscribers_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/subscribers","subscription_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/subscription","commits_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/commits{/sha}","git_commits_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/git/commits{/sha}","comments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/comments{/number}","issue_comment_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/comments{/number}","contents_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/contents/{+path}","compare_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/merges","archive_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/downloads","issues_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues{/number}","pulls_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls{/number}","milestones_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/milestones{/number}","notifications_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/labels{/name}","releases_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/releases{/id}","deployments_url":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/deployments","created_at":"2016-05-16T11:39:27Z","updated_at":"2016-07-13T21:51:14Z","pushed_at":"2016-07-22T01:17:49Z","git_url":"git://github.com/Social-projects-Rivne/GreenTourism.git","ssh_url":"git@github.com:Social-projects-Rivne/GreenTourism.git","clone_url":"https://github.com/Social-projects-Rivne/GreenTourism.git","svn_url":"https://github.com/Social-projects-Rivne/GreenTourism","homepage":null,"size":61283,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":6,"forks":3,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36"},"html":{"href":"https://github.com/Social-projects-Rivne/GreenTourism/pull/36"},"issue":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/36"},"comments":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Social-projects-Rivne/GreenTourism/statuses/aef080a19ef1bddcb5a148d34649beefcbbe89ec"}}}}
{"actor":{"display_login":"yurykozhenov"}}