{"action":"created","comment":{"url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/comments/28393550","id":28393550,"diff_hunk":"@@ -0,0 +1,44 @@\n+var app = angular.module('vacacionesPermanentes', [\"ui.router\", \"ngMaterial\", \"ui.gravatar\", \"angularMoment\", \"materialDatePicker\"]);\n+\n+app.config(function ($interpolateProvider, $stateProvider, $urlRouterProvider) {\n+    $interpolateProvider.startSymbol('[[');\n+    $interpolateProvider.endSymbol(']]');\n+\n+    $stateProvider\n+        .state('home', {\n+            url: '/home',\n+            templateUrl: '/home.html',\n+            controller: 'TripsCtrl',\n+            resolve: {\n+                tripPromise: function (trips) {\n+                    return trips.getAll();\n+                }\n+            }\n+        })\n+        .state('login', {\n+            url: '/login',\n+            templateUrl: '/login.html',\n+            controller: 'AuthCtrl',\n+            onEnter: ['$state', 'auth', function($state, auth){\n+                if(auth.isLoggedIn()){\n+                    $state.go('home');\n+                }\n+            }]\n+        })\n+        .state('register', {\n+            url: '/register',\n+            templateUrl: '/register.html',\n+            controller: 'AuthCtrl',\n+            onEnter: ['$state', 'auth', function($state, auth){\n+                if(auth.isLoggedIn()){\n+                    $state.go('home');\n+                }\n+            }]\n+        });\n+    $urlRouterProvider.otherwise('home');\n+});\n+app.run(function(amMoment) {\n+    amMoment.changeLocale('es');\n+});\n+\n+module.exports = app;","path":"controllers/app.js","position":44,"original_position":44,"commit_id":"2ea8812615804aea1c5157b5fbc2f0033148fa68","original_commit_id":"2ea8812615804aea1c5157b5fbc2f0033148fa68","user":{"login":"susanrosito","id":5042257,"avatar_url":"https://avatars.githubusercontent.com/u/5042257?v=3","gravatar_id":"","url":"https://api.github.com/users/susanrosito","html_url":"https://github.com/susanrosito","followers_url":"https://api.github.com/users/susanrosito/followers","following_url":"https://api.github.com/users/susanrosito/following{/other_user}","gists_url":"https://api.github.com/users/susanrosito/gists{/gist_id}","starred_url":"https://api.github.com/users/susanrosito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/susanrosito/subscriptions","organizations_url":"https://api.github.com/users/susanrosito/orgs","repos_url":"https://api.github.com/users/susanrosito/repos","events_url":"https://api.github.com/users/susanrosito/events{/privacy}","received_events_url":"https://api.github.com/users/susanrosito/received_events","type":"User","site_admin":false},"body":"Falta final de linea.","created_at":"2015-04-15T05:02:51Z","updated_at":"2015-04-15T05:02:51Z","html_url":"https://github.com/robaud/vacaciones-permanentes/pull/1#discussion_r28393550","pull_request_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/comments/28393550"},"html":{"href":"https://github.com/robaud/vacaciones-permanentes/pull/1#discussion_r28393550"},"pull_request":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1","id":33199515,"html_url":"https://github.com/robaud/vacaciones-permanentes/pull/1","diff_url":"https://github.com/robaud/vacaciones-permanentes/pull/1.diff","patch_url":"https://github.com/robaud/vacaciones-permanentes/pull/1.patch","issue_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/1","number":1,"state":"open","locked":false,"title":"Initial Project Configuration","user":{"login":"alanrodas","id":199126,"avatar_url":"https://avatars.githubusercontent.com/u/199126?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrodas","html_url":"https://github.com/alanrodas","followers_url":"https://api.github.com/users/alanrodas/followers","following_url":"https://api.github.com/users/alanrodas/following{/other_user}","gists_url":"https://api.github.com/users/alanrodas/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrodas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrodas/subscriptions","organizations_url":"https://api.github.com/users/alanrodas/orgs","repos_url":"https://api.github.com/users/alanrodas/repos","events_url":"https://api.github.com/users/alanrodas/events{/privacy}","received_events_url":"https://api.github.com/users/alanrodas/received_events","type":"User","site_admin":false},"body":"Initialize the project as the continuation of the previous MEAN project\r\ndone solo.\r\nAll references to posts and comments have been already changes to\r\nreflect new current domain.\r\nAuthentication has been left \"as is\" and contains errors.\r\nNo new functionality has been added, only trip listing and creation.","created_at":"2015-04-13T20:21:39Z","updated_at":"2015-04-15T05:02:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7aa10e0d1a7db808943065bbf0725197097f608","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1/commits","review_comments_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1/comments","review_comment_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/1/comments","statuses_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/statuses/2ea8812615804aea1c5157b5fbc2f0033148fa68","head":{"label":"alanrodas:develop","ref":"develop","sha":"2ea8812615804aea1c5157b5fbc2f0033148fa68","user":{"login":"alanrodas","id":199126,"avatar_url":"https://avatars.githubusercontent.com/u/199126?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrodas","html_url":"https://github.com/alanrodas","followers_url":"https://api.github.com/users/alanrodas/followers","following_url":"https://api.github.com/users/alanrodas/following{/other_user}","gists_url":"https://api.github.com/users/alanrodas/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrodas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrodas/subscriptions","organizations_url":"https://api.github.com/users/alanrodas/orgs","repos_url":"https://api.github.com/users/alanrodas/repos","events_url":"https://api.github.com/users/alanrodas/events{/privacy}","received_events_url":"https://api.github.com/users/alanrodas/received_events","type":"User","site_admin":false},"repo":{"id":33873517,"name":"vacaciones-permanentes","full_name":"alanrodas/vacaciones-permanentes","owner":{"login":"alanrodas","id":199126,"avatar_url":"https://avatars.githubusercontent.com/u/199126?v=3","gravatar_id":"","url":"https://api.github.com/users/alanrodas","html_url":"https://github.com/alanrodas","followers_url":"https://api.github.com/users/alanrodas/followers","following_url":"https://api.github.com/users/alanrodas/following{/other_user}","gists_url":"https://api.github.com/users/alanrodas/gists{/gist_id}","starred_url":"https://api.github.com/users/alanrodas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanrodas/subscriptions","organizations_url":"https://api.github.com/users/alanrodas/orgs","repos_url":"https://api.github.com/users/alanrodas/repos","events_url":"https://api.github.com/users/alanrodas/events{/privacy}","received_events_url":"https://api.github.com/users/alanrodas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alanrodas/vacaciones-permanentes","description":"Proyecto MEAN para la materia de Desarrollo de Software","fork":true,"url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes","forks_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/forks","keys_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/teams","hooks_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/hooks","issue_events_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/issues/events{/number}","events_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/events","assignees_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/assignees{/user}","branches_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/branches{/branch}","tags_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/tags","blobs_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/git/refs{/sha}","trees_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/statuses/{sha}","languages_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/languages","stargazers_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/stargazers","contributors_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/contributors","subscribers_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/subscribers","subscription_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/subscription","commits_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/commits{/sha}","git_commits_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/git/commits{/sha}","comments_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/comments{/number}","issue_comment_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/issues/comments{/number}","contents_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/contents/{+path}","compare_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/merges","archive_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/downloads","issues_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/issues{/number}","pulls_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/pulls{/number}","milestones_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/milestones{/number}","notifications_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/labels{/name}","releases_url":"https://api.github.com/repos/alanrodas/vacaciones-permanentes/releases{/id}","created_at":"2015-04-13T14:31:53Z","updated_at":"2015-04-14T12:28:33Z","pushed_at":"2015-04-14T13:46:12Z","git_url":"git://github.com/alanrodas/vacaciones-permanentes.git","ssh_url":"git@github.com:alanrodas/vacaciones-permanentes.git","clone_url":"https://github.com/alanrodas/vacaciones-permanentes.git","svn_url":"https://github.com/alanrodas/vacaciones-permanentes","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"robaud:develop","ref":"develop","sha":"711f9d8fcf341246c67f6c1b7df54565429de15d","user":{"login":"robaud","id":11926394,"avatar_url":"https://avatars.githubusercontent.com/u/11926394?v=3","gravatar_id":"","url":"https://api.github.com/users/robaud","html_url":"https://github.com/robaud","followers_url":"https://api.github.com/users/robaud/followers","following_url":"https://api.github.com/users/robaud/following{/other_user}","gists_url":"https://api.github.com/users/robaud/gists{/gist_id}","starred_url":"https://api.github.com/users/robaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robaud/subscriptions","organizations_url":"https://api.github.com/users/robaud/orgs","repos_url":"https://api.github.com/users/robaud/repos","events_url":"https://api.github.com/users/robaud/events{/privacy}","received_events_url":"https://api.github.com/users/robaud/received_events","type":"Organization","site_admin":false},"repo":{"id":33873425,"name":"vacaciones-permanentes","full_name":"robaud/vacaciones-permanentes","owner":{"login":"robaud","id":11926394,"avatar_url":"https://avatars.githubusercontent.com/u/11926394?v=3","gravatar_id":"","url":"https://api.github.com/users/robaud","html_url":"https://github.com/robaud","followers_url":"https://api.github.com/users/robaud/followers","following_url":"https://api.github.com/users/robaud/following{/other_user}","gists_url":"https://api.github.com/users/robaud/gists{/gist_id}","starred_url":"https://api.github.com/users/robaud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robaud/subscriptions","organizations_url":"https://api.github.com/users/robaud/orgs","repos_url":"https://api.github.com/users/robaud/repos","events_url":"https://api.github.com/users/robaud/events{/privacy}","received_events_url":"https://api.github.com/users/robaud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/robaud/vacaciones-permanentes","description":"Proyecto MEAN para la materia de Desarrollo de Software","fork":false,"url":"https://api.github.com/repos/robaud/vacaciones-permanentes","forks_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/forks","keys_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/teams","hooks_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/hooks","issue_events_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/events{/number}","events_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/events","assignees_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/assignees{/user}","branches_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/branches{/branch}","tags_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/tags","blobs_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/git/refs{/sha}","trees_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/statuses/{sha}","languages_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/languages","stargazers_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/stargazers","contributors_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/contributors","subscribers_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/subscribers","subscription_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/subscription","commits_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/commits{/sha}","git_commits_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/git/commits{/sha}","comments_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/comments{/number}","issue_comment_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/comments{/number}","contents_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/contents/{+path}","compare_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/merges","archive_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/downloads","issues_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues{/number}","pulls_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls{/number}","milestones_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/milestones{/number}","notifications_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/labels{/name}","releases_url":"https://api.github.com/repos/robaud/vacaciones-permanentes/releases{/id}","created_at":"2015-04-13T14:30:20Z","updated_at":"2015-04-13T14:30:20Z","pushed_at":"2015-04-14T12:28:32Z","git_url":"git://github.com/robaud/vacaciones-permanentes.git","ssh_url":"git@github.com:robaud/vacaciones-permanentes.git","clone_url":"https://github.com/robaud/vacaciones-permanentes.git","svn_url":"https://github.com/robaud/vacaciones-permanentes","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1"},"html":{"href":"https://github.com/robaud/vacaciones-permanentes/pull/1"},"issue":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/1"},"comments":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/robaud/vacaciones-permanentes/statuses/2ea8812615804aea1c5157b5fbc2f0033148fa68"}}}}