{"action":"created","comment":{"url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments/57005597","id":57005597,"diff_hunk":"@@ -31,5 +32,26 @@\n         return err;\n       });\n     }\n+\n+    function addNotesToContent(content){\n+      /*jshint camelcase: false */\n+      var contentId = content.id,\n+          neuronId = content.neuron_id,\n+          userNotes = content.user_notes;\n+\n+      return $http({\n+        method: 'POST',\n+        url: ENV.apiHost + '/api/neurons/' + neuronId + '/contents/' + contentId + '/notes',\n+        data: {note: userNotes}\n+      }).then(function success(res) {\n+        return res;\n+      }, function error(err) {\n+        $ionicPopup.alert({","path":"app/scripts/services/content-service.js","position":28,"original_position":28,"commit_id":"a25a5e4bdff6ce9eea7826a9ce345134bc99e2fb","original_commit_id":"a25a5e4bdff6ce9eea7826a9ce345134bc99e2fb","user":{"login":"daosgc","id":6590748,"avatar_url":"https://avatars.githubusercontent.com/u/6590748?v=3","gravatar_id":"","url":"https://api.github.com/users/daosgc","html_url":"https://github.com/daosgc","followers_url":"https://api.github.com/users/daosgc/followers","following_url":"https://api.github.com/users/daosgc/following{/other_user}","gists_url":"https://api.github.com/users/daosgc/gists{/gist_id}","starred_url":"https://api.github.com/users/daosgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daosgc/subscriptions","organizations_url":"https://api.github.com/users/daosgc/orgs","repos_url":"https://api.github.com/users/daosgc/repos","events_url":"https://api.github.com/users/daosgc/events{/privacy}","received_events_url":"https://api.github.com/users/daosgc/received_events","type":"User","site_admin":false},"body":"como asiii... esta dentro de un servicio mismo 'content-service'","created_at":"2016-03-22T15:21:40Z","updated_at":"2016-03-22T15:21:40Z","html_url":"https://github.com/GrowMoi/moi-front-end/pull/33#discussion_r57005597","pull_request_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33","_links":{"self":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/comments/57005597"},"html":{"href":"https://github.com/GrowMoi/moi-front-end/pull/33#discussion_r57005597"},"pull_request":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33","id":63736777,"html_url":"https://github.com/GrowMoi/moi-front-end/pull/33","diff_url":"https://github.com/GrowMoi/moi-front-end/pull/33.diff","patch_url":"https://github.com/GrowMoi/moi-front-end/pull/33.patch","issue_url":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/33","number":33,"state":"open","locked":false,"title":"Contenidos Maximizados","user":{"login":"daosgc","id":6590748,"avatar_url":"https://avatars.githubusercontent.com/u/6590748?v=3","gravatar_id":"","url":"https://api.github.com/users/daosgc","html_url":"https://github.com/daosgc","followers_url":"https://api.github.com/users/daosgc/followers","following_url":"https://api.github.com/users/daosgc/following{/other_user}","gists_url":"https://api.github.com/users/daosgc/gists{/gist_id}","starred_url":"https://api.github.com/users/daosgc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daosgc/subscriptions","organizations_url":"https://api.github.com/users/daosgc/orgs","repos_url":"https://api.github.com/users/daosgc/repos","events_url":"https://api.github.com/users/daosgc/events{/privacy}","received_events_url":"https://api.github.com/users/daosgc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-22T15:14:07Z","updated_at":"2016-03-22T15:21:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac15a3245b18965394d44f228bd50cc7234e4d3a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33/commits","review_comments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33/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/33/comments","statuses_url":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/a25a5e4bdff6ce9eea7826a9ce345134bc99e2fb","head":{"label":"GrowMoi:MOI-APP-012","ref":"MOI-APP-012","sha":"a25a5e4bdff6ce9eea7826a9ce345134bc99e2fb","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}","deployments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/deployments","created_at":"2015-11-20T02:18:57Z","updated_at":"2016-01-15T15:17:12Z","pushed_at":"2016-03-22T15:14:08Z","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":29240,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"GrowMoi:master","ref":"master","sha":"66d7ac8ba6abfddaf9ce6cb819d24114c4e2ec32","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}","deployments_url":"https://api.github.com/repos/GrowMoi/moi-front-end/deployments","created_at":"2015-11-20T02:18:57Z","updated_at":"2016-01-15T15:17:12Z","pushed_at":"2016-03-22T15:14:08Z","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":29240,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33"},"html":{"href":"https://github.com/GrowMoi/moi-front-end/pull/33"},"issue":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/33"},"comments":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/pulls/33/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/33/commits"},"statuses":{"href":"https://api.github.com/repos/GrowMoi/moi-front-end/statuses/a25a5e4bdff6ce9eea7826a9ce345134bc99e2fb"}}}}