{"action":"created","comment":{"url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments/49749734","id":49749734,"diff_hunk":"@@ -0,0 +1,22 @@\n+(function () {\n+  'use strict';\n+\n+  angular.module('moi.services')\n+  .service('NeuronService',\n+    function ($http,\n+              ENV) {\n+\n+    this.getNeuron = function(id){\n+      return $http({\n+        method: 'GET',\n+        url: ENV.apiHost + '/api/neurons/' + id + '.json'\n+      }).then(function success(res) {\n+        return res.data;\n+      }, function error(err) {\n+        console.error('ERR', err);\n+      });\n+    };\n+\n+  });\n+})();\n+","path":"app/scripts/services/neuron-service.js","position":22,"original_position":22,"commit_id":"dd261c0c3373e2f92e4f48b2c356d8ddc7053217","original_commit_id":"dd261c0c3373e2f92e4f48b2c356d8ddc7053217","user":{"login":"fabricioflores","id":3495122,"avatar_url":"https://avatars.githubusercontent.com/u/3495122?v=3","gravatar_id":"","url":"https://api.github.com/users/fabricioflores","html_url":"https://github.com/fabricioflores","followers_url":"https://api.github.com/users/fabricioflores/followers","following_url":"https://api.github.com/users/fabricioflores/following{/other_user}","gists_url":"https://api.github.com/users/fabricioflores/gists{/gist_id}","starred_url":"https://api.github.com/users/fabricioflores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabricioflores/subscriptions","organizations_url":"https://api.github.com/users/fabricioflores/orgs","repos_url":"https://api.github.com/users/fabricioflores/repos","events_url":"https://api.github.com/users/fabricioflores/events{/privacy}","received_events_url":"https://api.github.com/users/fabricioflores/received_events","type":"User","site_admin":false},"body":":macool: `chon papa`... dice en mayúsculas usa factories en lugar de servicios....","created_at":"2016-01-14T16:41:15Z","updated_at":"2016-01-14T16:41:15Z","html_url":"https://github.com/GrowMoi/moi-front-end/pull/17#discussion_r49749734","pull_request_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments/49749734"},"html":{"href":"https://github.com/GrowMoi/moi-front-end/pull/17#discussion_r49749734"},"pull_request":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17","id":54827581,"html_url":"https://github.com/GrowMoi/moi-front-end/pull/17","diff_url":"https://github.com/GrowMoi/moi-front-end/pull/17.diff","patch_url":"https://github.com/GrowMoi/moi-front-end/pull/17.patch","issue_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/17","number":17,"state":"open","locked":false,"title":"add neuron contents view, controllers and directive","user":{"login":"leninkp","id":7042591,"avatar_url":"https://avatars.githubusercontent.com/u/7042591?v=3","gravatar_id":"","url":"https://api.github.com/users/leninkp","html_url":"https://github.com/leninkp","followers_url":"https://api.github.com/users/leninkp/followers","following_url":"https://api.github.com/users/leninkp/following{/other_user}","gists_url":"https://api.github.com/users/leninkp/gists{/gist_id}","starred_url":"https://api.github.com/users/leninkp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leninkp/subscriptions","organizations_url":"https://api.github.com/users/leninkp/orgs","repos_url":"https://api.github.com/users/leninkp/repos","events_url":"https://api.github.com/users/leninkp/events{/privacy}","received_events_url":"https://api.github.com/users/leninkp/received_events","type":"User","site_admin":false},"body":"[History MOI-APP-010](http://nodriza.shiriculapo.com/issues/5) ","created_at":"2015-12-30T20:33:29Z","updated_at":"2016-01-14T16:41:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a274f4b7033e91bd91eae16d902c24562c95531","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17/commits","review_comments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17/comments","review_comment_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/17/comments","statuses_url":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/dd261c0c3373e2f92e4f48b2c356d8ddc7053217","head":{"label":"GrowMoi:MOI-APP-010","ref":"MOI-APP-010","sha":"dd261c0c3373e2f92e4f48b2c356d8ddc7053217","user":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"repo":{"id":46533391,"name":"moi-front-end","full_name":"GrowMoi/moi-front-end","owner":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrowMoi/moi-front-end","description":"moi mobile app","fork":false,"url":"https://api.github.com/repos/GrowMoi/moi-front-end","forks_url":"https://api.github.com/repos/GrowMoi/moi-front-end/forks","keys_url":"https://api.github.com/repos/GrowMoi/moi-front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrowMoi/moi-front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrowMoi/moi-front-end/teams","hooks_url":"https://api.github.com/repos/GrowMoi/moi-front-end/hooks","issue_events_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/events{/number}","events_url":"https://api.github.com/repos/GrowMoi/moi-front-end/events","assignees_url":"https://api.github.com/repos/GrowMoi/moi-front-end/assignees{/user}","branches_url":"https://api.github.com/repos/GrowMoi/moi-front-end/branches{/branch}","tags_url":"https://api.github.com/repos/GrowMoi/moi-front-end/tags","blobs_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/GrowMoi/moi-front-end/languages","stargazers_url":"https://api.github.com/repos/GrowMoi/moi-front-end/stargazers","contributors_url":"https://api.github.com/repos/GrowMoi/moi-front-end/contributors","subscribers_url":"https://api.github.com/repos/GrowMoi/moi-front-end/subscribers","subscription_url":"https://api.github.com/repos/GrowMoi/moi-front-end/subscription","commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrowMoi/moi-front-end/contents/{+path}","compare_url":"https://api.github.com/repos/GrowMoi/moi-front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrowMoi/moi-front-end/merges","archive_url":"https://api.github.com/repos/GrowMoi/moi-front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrowMoi/moi-front-end/downloads","issues_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues{/number}","pulls_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/GrowMoi/moi-front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/GrowMoi/moi-front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrowMoi/moi-front-end/labels{/name}","releases_url":"https://api.github.com/repos/GrowMoi/moi-front-end/releases{/id}","created_at":"2015-11-20T02:18:57Z","updated_at":"2015-11-20T02:33:33Z","pushed_at":"2016-01-14T16:33:16Z","git_url":"git://github.com/GrowMoi/moi-front-end.git","ssh_url":"git@github.com:GrowMoi/moi-front-end.git","clone_url":"https://github.com/GrowMoi/moi-front-end.git","svn_url":"https://github.com/GrowMoi/moi-front-end","homepage":"http://moi-frontend.herokuapp.com","size":10071,"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":"GrowMoi:master","ref":"master","sha":"aaeab1f29bd9466f4fcdcae74219026bde6be621","user":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"repo":{"id":46533391,"name":"moi-front-end","full_name":"GrowMoi/moi-front-end","owner":{"login":"GrowMoi","id":10735842,"avatar_url":"https://avatars.githubusercontent.com/u/10735842?v=3","gravatar_id":"","url":"https://api.github.com/users/GrowMoi","html_url":"https://github.com/GrowMoi","followers_url":"https://api.github.com/users/GrowMoi/followers","following_url":"https://api.github.com/users/GrowMoi/following{/other_user}","gists_url":"https://api.github.com/users/GrowMoi/gists{/gist_id}","starred_url":"https://api.github.com/users/GrowMoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrowMoi/subscriptions","organizations_url":"https://api.github.com/users/GrowMoi/orgs","repos_url":"https://api.github.com/users/GrowMoi/repos","events_url":"https://api.github.com/users/GrowMoi/events{/privacy}","received_events_url":"https://api.github.com/users/GrowMoi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GrowMoi/moi-front-end","description":"moi mobile app","fork":false,"url":"https://api.github.com/repos/GrowMoi/moi-front-end","forks_url":"https://api.github.com/repos/GrowMoi/moi-front-end/forks","keys_url":"https://api.github.com/repos/GrowMoi/moi-front-end/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GrowMoi/moi-front-end/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GrowMoi/moi-front-end/teams","hooks_url":"https://api.github.com/repos/GrowMoi/moi-front-end/hooks","issue_events_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/events{/number}","events_url":"https://api.github.com/repos/GrowMoi/moi-front-end/events","assignees_url":"https://api.github.com/repos/GrowMoi/moi-front-end/assignees{/user}","branches_url":"https://api.github.com/repos/GrowMoi/moi-front-end/branches{/branch}","tags_url":"https://api.github.com/repos/GrowMoi/moi-front-end/tags","blobs_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/refs{/sha}","trees_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/{sha}","languages_url":"https://api.github.com/repos/GrowMoi/moi-front-end/languages","stargazers_url":"https://api.github.com/repos/GrowMoi/moi-front-end/stargazers","contributors_url":"https://api.github.com/repos/GrowMoi/moi-front-end/contributors","subscribers_url":"https://api.github.com/repos/GrowMoi/moi-front-end/subscribers","subscription_url":"https://api.github.com/repos/GrowMoi/moi-front-end/subscription","commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/commits{/sha}","git_commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/git/commits{/sha}","comments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/comments{/number}","issue_comment_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/comments{/number}","contents_url":"https://api.github.com/repos/GrowMoi/moi-front-end/contents/{+path}","compare_url":"https://api.github.com/repos/GrowMoi/moi-front-end/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GrowMoi/moi-front-end/merges","archive_url":"https://api.github.com/repos/GrowMoi/moi-front-end/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GrowMoi/moi-front-end/downloads","issues_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues{/number}","pulls_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls{/number}","milestones_url":"https://api.github.com/repos/GrowMoi/moi-front-end/milestones{/number}","notifications_url":"https://api.github.com/repos/GrowMoi/moi-front-end/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GrowMoi/moi-front-end/labels{/name}","releases_url":"https://api.github.com/repos/GrowMoi/moi-front-end/releases{/id}","created_at":"2015-11-20T02:18:57Z","updated_at":"2015-11-20T02:33:33Z","pushed_at":"2016-01-14T16:33:16Z","git_url":"git://github.com/GrowMoi/moi-front-end.git","ssh_url":"git@github.com:GrowMoi/moi-front-end.git","clone_url":"https://github.com/GrowMoi/moi-front-end.git","svn_url":"https://github.com/GrowMoi/moi-front-end","homepage":"http://moi-frontend.herokuapp.com","size":10071,"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/GrowMoi/moi-front-end/pulls/17"},"html":{"href":"https://github.com/GrowMoi/moi-front-end/pull/17"},"issue":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/17"},"comments":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/dd261c0c3373e2f92e4f48b2c356d8ddc7053217"}}}}