{"action":"created","comment":{"url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/comments/40767974","id":40767974,"diff_hunk":"@@ -0,0 +1,39 @@\n+angular\n+  .module('Dak.controllers')\n+  .controller('LayoutCtrl', LayoutCtrl);\n+\n+LayoutCtrl.$inject = [\n+  'ENV', '$scope', '$state', '$auth'\n+];\n+\n+function LayoutCtrl(ENV, $scope, $state, $auth) {\n+  console.log('LayoutCtrl load');\n+\n+  this.isLoggedIn=isLoggedIn;\n+  this.isLoggedOut=isLoggedOut;\n+  this.signOutCl = signOutCl;\n+\n+  function isLoggedIn(){\n+    return (localStorage.getItem('auth_headers')) ? true : false;","path":"app/scripts/controllers/layoutCtrl.js","position":17,"original_position":17,"commit_id":"1d0b91e412a669a2b2b2595c36765586f3f929fb","original_commit_id":"1d0b91e412a669a2b2b2595c36765586f3f929fb","user":{"login":"Maxyss","id":1955603,"avatar_url":"https://avatars.githubusercontent.com/u/1955603?v=3","gravatar_id":"","url":"https://api.github.com/users/Maxyss","html_url":"https://github.com/Maxyss","followers_url":"https://api.github.com/users/Maxyss/followers","following_url":"https://api.github.com/users/Maxyss/following{/other_user}","gists_url":"https://api.github.com/users/Maxyss/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxyss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxyss/subscriptions","organizations_url":"https://api.github.com/users/Maxyss/orgs","repos_url":"https://api.github.com/users/Maxyss/repos","events_url":"https://api.github.com/users/Maxyss/events{/privacy}","received_events_url":"https://api.github.com/users/Maxyss/received_events","type":"User","site_admin":false},"body":"это не будет верно работать\r\n","created_at":"2015-09-30T08:10:18Z","updated_at":"2015-09-30T08:10:18Z","html_url":"https://github.com/dimanado/DaK_frontend/pull/2#discussion_r40767974","pull_request_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/comments/40767974"},"html":{"href":"https://github.com/dimanado/DaK_frontend/pull/2#discussion_r40767974"},"pull_request":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2","id":46147355,"html_url":"https://github.com/dimanado/DaK_frontend/pull/2","diff_url":"https://github.com/dimanado/DaK_frontend/pull/2.diff","patch_url":"https://github.com/dimanado/DaK_frontend/pull/2.patch","issue_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/2","number":2,"state":"open","locked":false,"title":"Feature/navbar ssp1","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-28T11:46:09Z","updated_at":"2015-09-30T08:10:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e772d0ca960f913d0068ec0bee670065d6d6d71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/2/comments","statuses_url":"https://api.github.com/repos/dimanado/DaK_frontend/statuses/1d0b91e412a669a2b2b2595c36765586f3f929fb","head":{"label":"dimanado:feature/navbar-ssp1","ref":"feature/navbar-ssp1","sha":"1d0b91e412a669a2b2b2595c36765586f3f929fb","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"repo":{"id":39881694,"name":"DaK_frontend","full_name":"dimanado/DaK_frontend","owner":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimanado/DaK_frontend","description":"","fork":false,"url":"https://api.github.com/repos/dimanado/DaK_frontend","forks_url":"https://api.github.com/repos/dimanado/DaK_frontend/forks","keys_url":"https://api.github.com/repos/dimanado/DaK_frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimanado/DaK_frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimanado/DaK_frontend/teams","hooks_url":"https://api.github.com/repos/dimanado/DaK_frontend/hooks","issue_events_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/events{/number}","events_url":"https://api.github.com/repos/dimanado/DaK_frontend/events","assignees_url":"https://api.github.com/repos/dimanado/DaK_frontend/assignees{/user}","branches_url":"https://api.github.com/repos/dimanado/DaK_frontend/branches{/branch}","tags_url":"https://api.github.com/repos/dimanado/DaK_frontend/tags","blobs_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimanado/DaK_frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/dimanado/DaK_frontend/languages","stargazers_url":"https://api.github.com/repos/dimanado/DaK_frontend/stargazers","contributors_url":"https://api.github.com/repos/dimanado/DaK_frontend/contributors","subscribers_url":"https://api.github.com/repos/dimanado/DaK_frontend/subscribers","subscription_url":"https://api.github.com/repos/dimanado/DaK_frontend/subscription","commits_url":"https://api.github.com/repos/dimanado/DaK_frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimanado/DaK_frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimanado/DaK_frontend/contents/{+path}","compare_url":"https://api.github.com/repos/dimanado/DaK_frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimanado/DaK_frontend/merges","archive_url":"https://api.github.com/repos/dimanado/DaK_frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimanado/DaK_frontend/downloads","issues_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues{/number}","pulls_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/dimanado/DaK_frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/dimanado/DaK_frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimanado/DaK_frontend/labels{/name}","releases_url":"https://api.github.com/repos/dimanado/DaK_frontend/releases{/id}","created_at":"2015-07-29T08:12:19Z","updated_at":"2015-07-29T08:17:30Z","pushed_at":"2015-09-28T11:46:09Z","git_url":"git://github.com/dimanado/DaK_frontend.git","ssh_url":"git@github.com:dimanado/DaK_frontend.git","clone_url":"https://github.com/dimanado/DaK_frontend.git","svn_url":"https://github.com/dimanado/DaK_frontend","homepage":null,"size":244,"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":"master"}},"base":{"label":"dimanado:feature/auth","ref":"feature/auth","sha":"72e6654257f20bf555b550bc4e57be1c3468dd95","user":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"repo":{"id":39881694,"name":"DaK_frontend","full_name":"dimanado/DaK_frontend","owner":{"login":"dimanado","id":11485650,"avatar_url":"https://avatars.githubusercontent.com/u/11485650?v=3","gravatar_id":"","url":"https://api.github.com/users/dimanado","html_url":"https://github.com/dimanado","followers_url":"https://api.github.com/users/dimanado/followers","following_url":"https://api.github.com/users/dimanado/following{/other_user}","gists_url":"https://api.github.com/users/dimanado/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanado/subscriptions","organizations_url":"https://api.github.com/users/dimanado/orgs","repos_url":"https://api.github.com/users/dimanado/repos","events_url":"https://api.github.com/users/dimanado/events{/privacy}","received_events_url":"https://api.github.com/users/dimanado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dimanado/DaK_frontend","description":"","fork":false,"url":"https://api.github.com/repos/dimanado/DaK_frontend","forks_url":"https://api.github.com/repos/dimanado/DaK_frontend/forks","keys_url":"https://api.github.com/repos/dimanado/DaK_frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dimanado/DaK_frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dimanado/DaK_frontend/teams","hooks_url":"https://api.github.com/repos/dimanado/DaK_frontend/hooks","issue_events_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/events{/number}","events_url":"https://api.github.com/repos/dimanado/DaK_frontend/events","assignees_url":"https://api.github.com/repos/dimanado/DaK_frontend/assignees{/user}","branches_url":"https://api.github.com/repos/dimanado/DaK_frontend/branches{/branch}","tags_url":"https://api.github.com/repos/dimanado/DaK_frontend/tags","blobs_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dimanado/DaK_frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/dimanado/DaK_frontend/languages","stargazers_url":"https://api.github.com/repos/dimanado/DaK_frontend/stargazers","contributors_url":"https://api.github.com/repos/dimanado/DaK_frontend/contributors","subscribers_url":"https://api.github.com/repos/dimanado/DaK_frontend/subscribers","subscription_url":"https://api.github.com/repos/dimanado/DaK_frontend/subscription","commits_url":"https://api.github.com/repos/dimanado/DaK_frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/dimanado/DaK_frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/dimanado/DaK_frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/dimanado/DaK_frontend/contents/{+path}","compare_url":"https://api.github.com/repos/dimanado/DaK_frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dimanado/DaK_frontend/merges","archive_url":"https://api.github.com/repos/dimanado/DaK_frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dimanado/DaK_frontend/downloads","issues_url":"https://api.github.com/repos/dimanado/DaK_frontend/issues{/number}","pulls_url":"https://api.github.com/repos/dimanado/DaK_frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/dimanado/DaK_frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/dimanado/DaK_frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dimanado/DaK_frontend/labels{/name}","releases_url":"https://api.github.com/repos/dimanado/DaK_frontend/releases{/id}","created_at":"2015-07-29T08:12:19Z","updated_at":"2015-07-29T08:17:30Z","pushed_at":"2015-09-28T11:46:09Z","git_url":"git://github.com/dimanado/DaK_frontend.git","ssh_url":"git@github.com:dimanado/DaK_frontend.git","clone_url":"https://github.com/dimanado/DaK_frontend.git","svn_url":"https://github.com/dimanado/DaK_frontend","homepage":null,"size":244,"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":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2"},"html":{"href":"https://github.com/dimanado/DaK_frontend/pull/2"},"issue":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/issues/2"},"comments":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dimanado/DaK_frontend/statuses/1d0b91e412a669a2b2b2595c36765586f3f929fb"}}}}