{"action":"created","comment":{"url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/comments/33143064","id":33143064,"diff_hunk":"@@ -0,0 +1,30 @@\n+angular.module('app').factory('userService', [ 'Restangular', '$growl',\n+function(Restangular, $growl) {\n+\n+\t// TO DO: Move this to app.routes.js\n+\tRestangular.setBaseUrl('https://api.parse.com/1');\n+ \tRestangular.setDefaultHeaders({'Content-Type': 'application/json',\n+                  'X-Parse-Application-Id': 'DfYLYMHIcC80ykwZFbQet4a3YqYkOD92hcXIMIfA',","path":"src/app/services/userService.js","position":7,"original_position":7,"commit_id":"e99473bad0249788ff91b4e16b8fe78892cfe608","original_commit_id":"e99473bad0249788ff91b4e16b8fe78892cfe608","user":{"login":"sbalay","id":1928544,"avatar_url":"https://avatars.githubusercontent.com/u/1928544?v=3","gravatar_id":"","url":"https://api.github.com/users/sbalay","html_url":"https://github.com/sbalay","followers_url":"https://api.github.com/users/sbalay/followers","following_url":"https://api.github.com/users/sbalay/following{/other_user}","gists_url":"https://api.github.com/users/sbalay/gists{/gist_id}","starred_url":"https://api.github.com/users/sbalay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbalay/subscriptions","organizations_url":"https://api.github.com/users/sbalay/orgs","repos_url":"https://api.github.com/users/sbalay/repos","events_url":"https://api.github.com/users/sbalay/events{/privacy}","received_events_url":"https://api.github.com/users/sbalay/received_events","type":"User","site_admin":false},"body":"Saca los valores de los headers a los archivos de conf. Fijate en la carpeta config.\r\nDespues pone 'configuration' como dependencia de este module, y de ahi sacas los headers.","created_at":"2015-06-24T12:41:33Z","updated_at":"2015-06-24T12:41:33Z","html_url":"https://github.com/mishuagopian/TrainingAngular/pull/2#discussion_r33143064","pull_request_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/comments/33143064"},"html":{"href":"https://github.com/mishuagopian/TrainingAngular/pull/2#discussion_r33143064"},"pull_request":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2","id":38367167,"html_url":"https://github.com/mishuagopian/TrainingAngular/pull/2","diff_url":"https://github.com/mishuagopian/TrainingAngular/pull/2.diff","patch_url":"https://github.com/mishuagopian/TrainingAngular/pull/2.patch","issue_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/2","number":2,"state":"open","locked":false,"title":"Sign up.","user":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-23T18:24:37Z","updated_at":"2015-06-24T12:41:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5ce312590fc452f5f72303f4ebb4b9ea0ddda2c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/2/comments","statuses_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/statuses/e99473bad0249788ff91b4e16b8fe78892cfe608","head":{"label":"mishuagopian:sign-up","ref":"sign-up","sha":"e99473bad0249788ff91b4e16b8fe78892cfe608","user":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"repo":{"id":37727020,"name":"TrainingAngular","full_name":"mishuagopian/TrainingAngular","owner":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mishuagopian/TrainingAngular","description":"","fork":false,"url":"https://api.github.com/repos/mishuagopian/TrainingAngular","forks_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/forks","keys_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/teams","hooks_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/hooks","issue_events_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/events{/number}","events_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/events","assignees_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/assignees{/user}","branches_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/branches{/branch}","tags_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/tags","blobs_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/refs{/sha}","trees_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/statuses/{sha}","languages_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/languages","stargazers_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/stargazers","contributors_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/contributors","subscribers_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/subscribers","subscription_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/subscription","commits_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/commits{/sha}","git_commits_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/commits{/sha}","comments_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/comments{/number}","issue_comment_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/comments{/number}","contents_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/contents/{+path}","compare_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/merges","archive_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/downloads","issues_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues{/number}","pulls_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls{/number}","milestones_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/milestones{/number}","notifications_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/labels{/name}","releases_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/releases{/id}","created_at":"2015-06-19T14:42:04Z","updated_at":"2015-06-19T17:57:54Z","pushed_at":"2015-06-23T18:24:38Z","git_url":"git://github.com/mishuagopian/TrainingAngular.git","ssh_url":"git@github.com:mishuagopian/TrainingAngular.git","clone_url":"https://github.com/mishuagopian/TrainingAngular.git","svn_url":"https://github.com/mishuagopian/TrainingAngular","homepage":null,"size":0,"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":"mishuagopian:master","ref":"master","sha":"78a80c7d335efe65abe06a9df3215dc136399bec","user":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"repo":{"id":37727020,"name":"TrainingAngular","full_name":"mishuagopian/TrainingAngular","owner":{"login":"mishuagopian","id":9448790,"avatar_url":"https://avatars.githubusercontent.com/u/9448790?v=3","gravatar_id":"","url":"https://api.github.com/users/mishuagopian","html_url":"https://github.com/mishuagopian","followers_url":"https://api.github.com/users/mishuagopian/followers","following_url":"https://api.github.com/users/mishuagopian/following{/other_user}","gists_url":"https://api.github.com/users/mishuagopian/gists{/gist_id}","starred_url":"https://api.github.com/users/mishuagopian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishuagopian/subscriptions","organizations_url":"https://api.github.com/users/mishuagopian/orgs","repos_url":"https://api.github.com/users/mishuagopian/repos","events_url":"https://api.github.com/users/mishuagopian/events{/privacy}","received_events_url":"https://api.github.com/users/mishuagopian/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mishuagopian/TrainingAngular","description":"","fork":false,"url":"https://api.github.com/repos/mishuagopian/TrainingAngular","forks_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/forks","keys_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/teams","hooks_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/hooks","issue_events_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/events{/number}","events_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/events","assignees_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/assignees{/user}","branches_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/branches{/branch}","tags_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/tags","blobs_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/refs{/sha}","trees_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/statuses/{sha}","languages_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/languages","stargazers_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/stargazers","contributors_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/contributors","subscribers_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/subscribers","subscription_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/subscription","commits_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/commits{/sha}","git_commits_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/git/commits{/sha}","comments_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/comments{/number}","issue_comment_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/comments{/number}","contents_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/contents/{+path}","compare_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/merges","archive_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/downloads","issues_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues{/number}","pulls_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls{/number}","milestones_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/milestones{/number}","notifications_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/labels{/name}","releases_url":"https://api.github.com/repos/mishuagopian/TrainingAngular/releases{/id}","created_at":"2015-06-19T14:42:04Z","updated_at":"2015-06-19T17:57:54Z","pushed_at":"2015-06-23T18:24:38Z","git_url":"git://github.com/mishuagopian/TrainingAngular.git","ssh_url":"git@github.com:mishuagopian/TrainingAngular.git","clone_url":"https://github.com/mishuagopian/TrainingAngular.git","svn_url":"https://github.com/mishuagopian/TrainingAngular","homepage":null,"size":0,"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/mishuagopian/TrainingAngular/pulls/2"},"html":{"href":"https://github.com/mishuagopian/TrainingAngular/pull/2"},"issue":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/2"},"comments":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mishuagopian/TrainingAngular/statuses/e99473bad0249788ff91b4e16b8fe78892cfe608"}}}}