{"action":"created","comment":{"url":"https://api.github.com/repos/marbogucki/ng1x/pulls/comments/80907660","pull_request_review_id":1926991,"id":80907660,"diff_hunk":"@@ -0,0 +1,24 @@\n+(function() {\n+    'use strict';\n+\n+    angular.module('ngTraining')\n+        .factory('postsData', postsData);\n+\n+    postsData.$inject = ['$http'];\n+\n+    function postsData($http) {\n+        return {\n+          getAllPosts: _getAllPosts\n+        };\n+\n+        function _getAllPosts(callback) {\n+            $http.get('https://jsonplaceholder.typicode.com/posts')","path":"app/services/posts.service.js","position":15,"original_position":15,"commit_id":"5981d099a22e0276ad84a1a258f14c0e4a3d1efb","original_commit_id":"5981d099a22e0276ad84a1a258f14c0e4a3d1efb","user":{"login":"DeftCode-IT","id":16034577,"avatar_url":"https://avatars.githubusercontent.com/u/16034577?v=3","gravatar_id":"","url":"https://api.github.com/users/DeftCode-IT","html_url":"https://github.com/DeftCode-IT","followers_url":"https://api.github.com/users/DeftCode-IT/followers","following_url":"https://api.github.com/users/DeftCode-IT/following{/other_user}","gists_url":"https://api.github.com/users/DeftCode-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/DeftCode-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeftCode-IT/subscriptions","organizations_url":"https://api.github.com/users/DeftCode-IT/orgs","repos_url":"https://api.github.com/users/DeftCode-IT/repos","events_url":"https://api.github.com/users/DeftCode-IT/events{/privacy}","received_events_url":"https://api.github.com/users/DeftCode-IT/received_events","type":"User","site_admin":false},"body":"Błąd też powinien być obsłużony w kontrolerze.","created_at":"2016-09-28T12:52:48Z","updated_at":"2016-09-28T12:52:48Z","html_url":"https://github.com/marbogucki/ng1x/pull/1#discussion_r80907660","pull_request_url":"https://api.github.com/repos/marbogucki/ng1x/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/marbogucki/ng1x/pulls/comments/80907660"},"html":{"href":"https://github.com/marbogucki/ng1x/pull/1#discussion_r80907660"},"pull_request":{"href":"https://api.github.com/repos/marbogucki/ng1x/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/marbogucki/ng1x/pulls/1","id":87111605,"html_url":"https://github.com/marbogucki/ng1x/pull/1","diff_url":"https://github.com/marbogucki/ng1x/pull/1.diff","patch_url":"https://github.com/marbogucki/ng1x/pull/1.patch","issue_url":"https://api.github.com/repos/marbogucki/ng1x/issues/1","number":1,"state":"open","locked":false,"title":"Factory post","user":{"login":"marbogucki","id":19185715,"avatar_url":"https://avatars.githubusercontent.com/u/19185715?v=3","gravatar_id":"","url":"https://api.github.com/users/marbogucki","html_url":"https://github.com/marbogucki","followers_url":"https://api.github.com/users/marbogucki/followers","following_url":"https://api.github.com/users/marbogucki/following{/other_user}","gists_url":"https://api.github.com/users/marbogucki/gists{/gist_id}","starred_url":"https://api.github.com/users/marbogucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbogucki/subscriptions","organizations_url":"https://api.github.com/users/marbogucki/orgs","repos_url":"https://api.github.com/users/marbogucki/repos","events_url":"https://api.github.com/users/marbogucki/events{/privacy}","received_events_url":"https://api.github.com/users/marbogucki/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-28T12:41:23Z","updated_at":"2016-09-28T12:52:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e6132206eaefc79f45771c703eda11eddfb6295","assignee":{"login":"DeftCode-IT","id":16034577,"avatar_url":"https://avatars.githubusercontent.com/u/16034577?v=3","gravatar_id":"","url":"https://api.github.com/users/DeftCode-IT","html_url":"https://github.com/DeftCode-IT","followers_url":"https://api.github.com/users/DeftCode-IT/followers","following_url":"https://api.github.com/users/DeftCode-IT/following{/other_user}","gists_url":"https://api.github.com/users/DeftCode-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/DeftCode-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeftCode-IT/subscriptions","organizations_url":"https://api.github.com/users/DeftCode-IT/orgs","repos_url":"https://api.github.com/users/DeftCode-IT/repos","events_url":"https://api.github.com/users/DeftCode-IT/events{/privacy}","received_events_url":"https://api.github.com/users/DeftCode-IT/received_events","type":"User","site_admin":false},"assignees":[{"login":"DeftCode-IT","id":16034577,"avatar_url":"https://avatars.githubusercontent.com/u/16034577?v=3","gravatar_id":"","url":"https://api.github.com/users/DeftCode-IT","html_url":"https://github.com/DeftCode-IT","followers_url":"https://api.github.com/users/DeftCode-IT/followers","following_url":"https://api.github.com/users/DeftCode-IT/following{/other_user}","gists_url":"https://api.github.com/users/DeftCode-IT/gists{/gist_id}","starred_url":"https://api.github.com/users/DeftCode-IT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeftCode-IT/subscriptions","organizations_url":"https://api.github.com/users/DeftCode-IT/orgs","repos_url":"https://api.github.com/users/DeftCode-IT/repos","events_url":"https://api.github.com/users/DeftCode-IT/events{/privacy}","received_events_url":"https://api.github.com/users/DeftCode-IT/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/marbogucki/ng1x/pulls/1/commits","review_comments_url":"https://api.github.com/repos/marbogucki/ng1x/pulls/1/comments","review_comment_url":"https://api.github.com/repos/marbogucki/ng1x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marbogucki/ng1x/issues/1/comments","statuses_url":"https://api.github.com/repos/marbogucki/ng1x/statuses/5981d099a22e0276ad84a1a258f14c0e4a3d1efb","head":{"label":"marbogucki:factoryPost","ref":"factoryPost","sha":"5981d099a22e0276ad84a1a258f14c0e4a3d1efb","user":{"login":"marbogucki","id":19185715,"avatar_url":"https://avatars.githubusercontent.com/u/19185715?v=3","gravatar_id":"","url":"https://api.github.com/users/marbogucki","html_url":"https://github.com/marbogucki","followers_url":"https://api.github.com/users/marbogucki/followers","following_url":"https://api.github.com/users/marbogucki/following{/other_user}","gists_url":"https://api.github.com/users/marbogucki/gists{/gist_id}","starred_url":"https://api.github.com/users/marbogucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbogucki/subscriptions","organizations_url":"https://api.github.com/users/marbogucki/orgs","repos_url":"https://api.github.com/users/marbogucki/repos","events_url":"https://api.github.com/users/marbogucki/events{/privacy}","received_events_url":"https://api.github.com/users/marbogucki/received_events","type":"User","site_admin":false},"repo":{"id":69453059,"name":"ng1x","full_name":"marbogucki/ng1x","owner":{"login":"marbogucki","id":19185715,"avatar_url":"https://avatars.githubusercontent.com/u/19185715?v=3","gravatar_id":"","url":"https://api.github.com/users/marbogucki","html_url":"https://github.com/marbogucki","followers_url":"https://api.github.com/users/marbogucki/followers","following_url":"https://api.github.com/users/marbogucki/following{/other_user}","gists_url":"https://api.github.com/users/marbogucki/gists{/gist_id}","starred_url":"https://api.github.com/users/marbogucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbogucki/subscriptions","organizations_url":"https://api.github.com/users/marbogucki/orgs","repos_url":"https://api.github.com/users/marbogucki/repos","events_url":"https://api.github.com/users/marbogucki/events{/privacy}","received_events_url":"https://api.github.com/users/marbogucki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marbogucki/ng1x","description":null,"fork":false,"url":"https://api.github.com/repos/marbogucki/ng1x","forks_url":"https://api.github.com/repos/marbogucki/ng1x/forks","keys_url":"https://api.github.com/repos/marbogucki/ng1x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marbogucki/ng1x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marbogucki/ng1x/teams","hooks_url":"https://api.github.com/repos/marbogucki/ng1x/hooks","issue_events_url":"https://api.github.com/repos/marbogucki/ng1x/issues/events{/number}","events_url":"https://api.github.com/repos/marbogucki/ng1x/events","assignees_url":"https://api.github.com/repos/marbogucki/ng1x/assignees{/user}","branches_url":"https://api.github.com/repos/marbogucki/ng1x/branches{/branch}","tags_url":"https://api.github.com/repos/marbogucki/ng1x/tags","blobs_url":"https://api.github.com/repos/marbogucki/ng1x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marbogucki/ng1x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marbogucki/ng1x/git/refs{/sha}","trees_url":"https://api.github.com/repos/marbogucki/ng1x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marbogucki/ng1x/statuses/{sha}","languages_url":"https://api.github.com/repos/marbogucki/ng1x/languages","stargazers_url":"https://api.github.com/repos/marbogucki/ng1x/stargazers","contributors_url":"https://api.github.com/repos/marbogucki/ng1x/contributors","subscribers_url":"https://api.github.com/repos/marbogucki/ng1x/subscribers","subscription_url":"https://api.github.com/repos/marbogucki/ng1x/subscription","commits_url":"https://api.github.com/repos/marbogucki/ng1x/commits{/sha}","git_commits_url":"https://api.github.com/repos/marbogucki/ng1x/git/commits{/sha}","comments_url":"https://api.github.com/repos/marbogucki/ng1x/comments{/number}","issue_comment_url":"https://api.github.com/repos/marbogucki/ng1x/issues/comments{/number}","contents_url":"https://api.github.com/repos/marbogucki/ng1x/contents/{+path}","compare_url":"https://api.github.com/repos/marbogucki/ng1x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marbogucki/ng1x/merges","archive_url":"https://api.github.com/repos/marbogucki/ng1x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marbogucki/ng1x/downloads","issues_url":"https://api.github.com/repos/marbogucki/ng1x/issues{/number}","pulls_url":"https://api.github.com/repos/marbogucki/ng1x/pulls{/number}","milestones_url":"https://api.github.com/repos/marbogucki/ng1x/milestones{/number}","notifications_url":"https://api.github.com/repos/marbogucki/ng1x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marbogucki/ng1x/labels{/name}","releases_url":"https://api.github.com/repos/marbogucki/ng1x/releases{/id}","deployments_url":"https://api.github.com/repos/marbogucki/ng1x/deployments","created_at":"2016-09-28T10:35:35Z","updated_at":"2016-09-28T10:37:26Z","pushed_at":"2016-09-28T12:41:23Z","git_url":"git://github.com/marbogucki/ng1x.git","ssh_url":"git@github.com:marbogucki/ng1x.git","clone_url":"https://github.com/marbogucki/ng1x.git","svn_url":"https://github.com/marbogucki/ng1x","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"marbogucki:master","ref":"master","sha":"126cd98b69db6bb293e8a4c30d2d469751d66d43","user":{"login":"marbogucki","id":19185715,"avatar_url":"https://avatars.githubusercontent.com/u/19185715?v=3","gravatar_id":"","url":"https://api.github.com/users/marbogucki","html_url":"https://github.com/marbogucki","followers_url":"https://api.github.com/users/marbogucki/followers","following_url":"https://api.github.com/users/marbogucki/following{/other_user}","gists_url":"https://api.github.com/users/marbogucki/gists{/gist_id}","starred_url":"https://api.github.com/users/marbogucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbogucki/subscriptions","organizations_url":"https://api.github.com/users/marbogucki/orgs","repos_url":"https://api.github.com/users/marbogucki/repos","events_url":"https://api.github.com/users/marbogucki/events{/privacy}","received_events_url":"https://api.github.com/users/marbogucki/received_events","type":"User","site_admin":false},"repo":{"id":69453059,"name":"ng1x","full_name":"marbogucki/ng1x","owner":{"login":"marbogucki","id":19185715,"avatar_url":"https://avatars.githubusercontent.com/u/19185715?v=3","gravatar_id":"","url":"https://api.github.com/users/marbogucki","html_url":"https://github.com/marbogucki","followers_url":"https://api.github.com/users/marbogucki/followers","following_url":"https://api.github.com/users/marbogucki/following{/other_user}","gists_url":"https://api.github.com/users/marbogucki/gists{/gist_id}","starred_url":"https://api.github.com/users/marbogucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbogucki/subscriptions","organizations_url":"https://api.github.com/users/marbogucki/orgs","repos_url":"https://api.github.com/users/marbogucki/repos","events_url":"https://api.github.com/users/marbogucki/events{/privacy}","received_events_url":"https://api.github.com/users/marbogucki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marbogucki/ng1x","description":null,"fork":false,"url":"https://api.github.com/repos/marbogucki/ng1x","forks_url":"https://api.github.com/repos/marbogucki/ng1x/forks","keys_url":"https://api.github.com/repos/marbogucki/ng1x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marbogucki/ng1x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marbogucki/ng1x/teams","hooks_url":"https://api.github.com/repos/marbogucki/ng1x/hooks","issue_events_url":"https://api.github.com/repos/marbogucki/ng1x/issues/events{/number}","events_url":"https://api.github.com/repos/marbogucki/ng1x/events","assignees_url":"https://api.github.com/repos/marbogucki/ng1x/assignees{/user}","branches_url":"https://api.github.com/repos/marbogucki/ng1x/branches{/branch}","tags_url":"https://api.github.com/repos/marbogucki/ng1x/tags","blobs_url":"https://api.github.com/repos/marbogucki/ng1x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marbogucki/ng1x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marbogucki/ng1x/git/refs{/sha}","trees_url":"https://api.github.com/repos/marbogucki/ng1x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marbogucki/ng1x/statuses/{sha}","languages_url":"https://api.github.com/repos/marbogucki/ng1x/languages","stargazers_url":"https://api.github.com/repos/marbogucki/ng1x/stargazers","contributors_url":"https://api.github.com/repos/marbogucki/ng1x/contributors","subscribers_url":"https://api.github.com/repos/marbogucki/ng1x/subscribers","subscription_url":"https://api.github.com/repos/marbogucki/ng1x/subscription","commits_url":"https://api.github.com/repos/marbogucki/ng1x/commits{/sha}","git_commits_url":"https://api.github.com/repos/marbogucki/ng1x/git/commits{/sha}","comments_url":"https://api.github.com/repos/marbogucki/ng1x/comments{/number}","issue_comment_url":"https://api.github.com/repos/marbogucki/ng1x/issues/comments{/number}","contents_url":"https://api.github.com/repos/marbogucki/ng1x/contents/{+path}","compare_url":"https://api.github.com/repos/marbogucki/ng1x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marbogucki/ng1x/merges","archive_url":"https://api.github.com/repos/marbogucki/ng1x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marbogucki/ng1x/downloads","issues_url":"https://api.github.com/repos/marbogucki/ng1x/issues{/number}","pulls_url":"https://api.github.com/repos/marbogucki/ng1x/pulls{/number}","milestones_url":"https://api.github.com/repos/marbogucki/ng1x/milestones{/number}","notifications_url":"https://api.github.com/repos/marbogucki/ng1x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marbogucki/ng1x/labels{/name}","releases_url":"https://api.github.com/repos/marbogucki/ng1x/releases{/id}","deployments_url":"https://api.github.com/repos/marbogucki/ng1x/deployments","created_at":"2016-09-28T10:35:35Z","updated_at":"2016-09-28T10:37:26Z","pushed_at":"2016-09-28T12:41:23Z","git_url":"git://github.com/marbogucki/ng1x.git","ssh_url":"git@github.com:marbogucki/ng1x.git","clone_url":"https://github.com/marbogucki/ng1x.git","svn_url":"https://github.com/marbogucki/ng1x","homepage":null,"size":1,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/marbogucki/ng1x/pulls/1"},"html":{"href":"https://github.com/marbogucki/ng1x/pull/1"},"issue":{"href":"https://api.github.com/repos/marbogucki/ng1x/issues/1"},"comments":{"href":"https://api.github.com/repos/marbogucki/ng1x/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/marbogucki/ng1x/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/marbogucki/ng1x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marbogucki/ng1x/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/marbogucki/ng1x/statuses/5981d099a22e0276ad84a1a258f14c0e4a3d1efb"}}}}
{"actor":{"display_login":"DeftCode-IT"}}