{"action":"created","comment":{"url":"https://api.github.com/repos/gach87/angularJs/pulls/comments/79936615","id":79936615,"diff_hunk":"@@ -7,74 +7,26 @@\n         return{\r\n             BindtoController: true,\r\n             controllerAs: 'ctrl',\r\n-            controller: function(){\r\n+            controller: function($http){\r\n                 //Se define lógica de negocios en este ejemplo para entender el funcionamiento, pero en realidad debe ir en un servicio\r\n-                //Que es llamado desde el controladorw\r\n-                var menu = [\r\n-                    {\r\n-                        nombre: 'Hamburguesas',\r\n-                        tipos: [\r\n-                            {\r\n-                                nombre: 'Normal',\r\n-                                precio: 2500\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Especial',\r\n-                                precio: 3500\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Full Equipo',\r\n-                                precio: 4000\r\n-                            }\r\n-                        ],\r\n-                        activo:true\r\n-                    }, {\r\n-                        nombre: 'Perros Calientes',\r\n-                        tipos: [\r\n-                            {\r\n-                                nombre: 'Normal',\r\n-                                precio: 1500\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Especial',\r\n-                                precio: 2000\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Full Equipo',\r\n-                                precio: 2500\r\n-                            }\r\n-                        ],\r\n-                        activo:false\r\n-                    }, {\r\n-                        nombre: 'Bebidas',\r\n-                        tipos: [\r\n-                            {\r\n-                                nombre: 'Normal',\r\n-                                precio: 800\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Mediano',\r\n-                                precio: 1200\r\n-                            },\r\n-                            {\r\n-                                nombre: 'Grande',\r\n-                                precio: 1600\r\n-                            }\r\n-                        ],\r\n-                        activo:true\r\n-                    },\r\n-                ]\r\n+                //Que es llamado desde el controlador\r\n+                menu = \"\";\r\n+                $http.get('elementos/menu/jorge/menu.json').success(function (data){\r","path":"fuentes/elementos/menu/jorge/modulo.js","position":null,"original_position":64,"commit_id":"328f6932816beb4f93cd2cdc59ff0bb24e66faa8","original_commit_id":"0aa27808057570f2f8a5fea0a2411793168e469f","user":{"login":"gach87","id":3605164,"avatar_url":"https://avatars.githubusercontent.com/u/3605164?v=3","gravatar_id":"","url":"https://api.github.com/users/gach87","html_url":"https://github.com/gach87","followers_url":"https://api.github.com/users/gach87/followers","following_url":"https://api.github.com/users/gach87/following{/other_user}","gists_url":"https://api.github.com/users/gach87/gists{/gist_id}","starred_url":"https://api.github.com/users/gach87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gach87/subscriptions","organizations_url":"https://api.github.com/users/gach87/orgs","repos_url":"https://api.github.com/users/gach87/repos","events_url":"https://api.github.com/users/gach87/events{/privacy}","received_events_url":"https://api.github.com/users/gach87/received_events","type":"User","site_admin":false},"body":"El metodo sucess se encuentra deprecated dentro de las versiones modernas de angular y en la version 1.6 sera eliminado, se necesita cambiar este método por el método then.\r\n\r\nLa notificacion de deprecated se encuentra en la documentación oficial del proyecto para el servicio $http https://docs.angularjs.org/api/ng/service/$http","created_at":"2016-09-21T21:26:55Z","updated_at":"2016-09-21T21:26:55Z","html_url":"https://github.com/gach87/angularJs/pull/1#discussion_r79936615","pull_request_url":"https://api.github.com/repos/gach87/angularJs/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/comments/79936615"},"html":{"href":"https://github.com/gach87/angularJs/pull/1#discussion_r79936615"},"pull_request":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/gach87/angularJs/pulls/1","id":86225090,"html_url":"https://github.com/gach87/angularJs/pull/1","diff_url":"https://github.com/gach87/angularJs/pull/1.diff","patch_url":"https://github.com/gach87/angularJs/pull/1.patch","issue_url":"https://api.github.com/repos/gach87/angularJs/issues/1","number":1,"state":"open","locked":false,"title":"Desarrolladores/jorge","user":{"login":"shonenki","id":5099329,"avatar_url":"https://avatars.githubusercontent.com/u/5099329?v=3","gravatar_id":"","url":"https://api.github.com/users/shonenki","html_url":"https://github.com/shonenki","followers_url":"https://api.github.com/users/shonenki/followers","following_url":"https://api.github.com/users/shonenki/following{/other_user}","gists_url":"https://api.github.com/users/shonenki/gists{/gist_id}","starred_url":"https://api.github.com/users/shonenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shonenki/subscriptions","organizations_url":"https://api.github.com/users/shonenki/orgs","repos_url":"https://api.github.com/users/shonenki/repos","events_url":"https://api.github.com/users/shonenki/events{/privacy}","received_events_url":"https://api.github.com/users/shonenki/received_events","type":"User","site_admin":false},"body":"Menú a través de un JSON","created_at":"2016-09-21T19:22:35Z","updated_at":"2016-09-21T21:26:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cdc500aa3c08ba23e23c65d35a74495d3539234","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gach87/angularJs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gach87/angularJs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gach87/angularJs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gach87/angularJs/issues/1/comments","statuses_url":"https://api.github.com/repos/gach87/angularJs/statuses/328f6932816beb4f93cd2cdc59ff0bb24e66faa8","head":{"label":"shonenki:desarrolladores/jorge","ref":"desarrolladores/jorge","sha":"328f6932816beb4f93cd2cdc59ff0bb24e66faa8","user":{"login":"shonenki","id":5099329,"avatar_url":"https://avatars.githubusercontent.com/u/5099329?v=3","gravatar_id":"","url":"https://api.github.com/users/shonenki","html_url":"https://github.com/shonenki","followers_url":"https://api.github.com/users/shonenki/followers","following_url":"https://api.github.com/users/shonenki/following{/other_user}","gists_url":"https://api.github.com/users/shonenki/gists{/gist_id}","starred_url":"https://api.github.com/users/shonenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shonenki/subscriptions","organizations_url":"https://api.github.com/users/shonenki/orgs","repos_url":"https://api.github.com/users/shonenki/repos","events_url":"https://api.github.com/users/shonenki/events{/privacy}","received_events_url":"https://api.github.com/users/shonenki/received_events","type":"User","site_admin":false},"repo":{"id":68846282,"name":"angularJs","full_name":"shonenki/angularJs","owner":{"login":"shonenki","id":5099329,"avatar_url":"https://avatars.githubusercontent.com/u/5099329?v=3","gravatar_id":"","url":"https://api.github.com/users/shonenki","html_url":"https://github.com/shonenki","followers_url":"https://api.github.com/users/shonenki/followers","following_url":"https://api.github.com/users/shonenki/following{/other_user}","gists_url":"https://api.github.com/users/shonenki/gists{/gist_id}","starred_url":"https://api.github.com/users/shonenki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shonenki/subscriptions","organizations_url":"https://api.github.com/users/shonenki/orgs","repos_url":"https://api.github.com/users/shonenki/repos","events_url":"https://api.github.com/users/shonenki/events{/privacy}","received_events_url":"https://api.github.com/users/shonenki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shonenki/angularJs","description":"Curso de angularJs Benllisoft","fork":true,"url":"https://api.github.com/repos/shonenki/angularJs","forks_url":"https://api.github.com/repos/shonenki/angularJs/forks","keys_url":"https://api.github.com/repos/shonenki/angularJs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shonenki/angularJs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shonenki/angularJs/teams","hooks_url":"https://api.github.com/repos/shonenki/angularJs/hooks","issue_events_url":"https://api.github.com/repos/shonenki/angularJs/issues/events{/number}","events_url":"https://api.github.com/repos/shonenki/angularJs/events","assignees_url":"https://api.github.com/repos/shonenki/angularJs/assignees{/user}","branches_url":"https://api.github.com/repos/shonenki/angularJs/branches{/branch}","tags_url":"https://api.github.com/repos/shonenki/angularJs/tags","blobs_url":"https://api.github.com/repos/shonenki/angularJs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shonenki/angularJs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shonenki/angularJs/git/refs{/sha}","trees_url":"https://api.github.com/repos/shonenki/angularJs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shonenki/angularJs/statuses/{sha}","languages_url":"https://api.github.com/repos/shonenki/angularJs/languages","stargazers_url":"https://api.github.com/repos/shonenki/angularJs/stargazers","contributors_url":"https://api.github.com/repos/shonenki/angularJs/contributors","subscribers_url":"https://api.github.com/repos/shonenki/angularJs/subscribers","subscription_url":"https://api.github.com/repos/shonenki/angularJs/subscription","commits_url":"https://api.github.com/repos/shonenki/angularJs/commits{/sha}","git_commits_url":"https://api.github.com/repos/shonenki/angularJs/git/commits{/sha}","comments_url":"https://api.github.com/repos/shonenki/angularJs/comments{/number}","issue_comment_url":"https://api.github.com/repos/shonenki/angularJs/issues/comments{/number}","contents_url":"https://api.github.com/repos/shonenki/angularJs/contents/{+path}","compare_url":"https://api.github.com/repos/shonenki/angularJs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shonenki/angularJs/merges","archive_url":"https://api.github.com/repos/shonenki/angularJs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shonenki/angularJs/downloads","issues_url":"https://api.github.com/repos/shonenki/angularJs/issues{/number}","pulls_url":"https://api.github.com/repos/shonenki/angularJs/pulls{/number}","milestones_url":"https://api.github.com/repos/shonenki/angularJs/milestones{/number}","notifications_url":"https://api.github.com/repos/shonenki/angularJs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shonenki/angularJs/labels{/name}","releases_url":"https://api.github.com/repos/shonenki/angularJs/releases{/id}","deployments_url":"https://api.github.com/repos/shonenki/angularJs/deployments","created_at":"2016-09-21T18:30:02Z","updated_at":"2016-09-21T18:30:03Z","pushed_at":"2016-09-21T19:19:21Z","git_url":"git://github.com/shonenki/angularJs.git","ssh_url":"git@github.com:shonenki/angularJs.git","clone_url":"https://github.com/shonenki/angularJs.git","svn_url":"https://github.com/shonenki/angularJs","homepage":null,"size":21,"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":"master"}},"base":{"label":"gach87:master","ref":"master","sha":"6e4843f473d39dc5b5f4a1ae7f2faf040eeefb48","user":{"login":"gach87","id":3605164,"avatar_url":"https://avatars.githubusercontent.com/u/3605164?v=3","gravatar_id":"","url":"https://api.github.com/users/gach87","html_url":"https://github.com/gach87","followers_url":"https://api.github.com/users/gach87/followers","following_url":"https://api.github.com/users/gach87/following{/other_user}","gists_url":"https://api.github.com/users/gach87/gists{/gist_id}","starred_url":"https://api.github.com/users/gach87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gach87/subscriptions","organizations_url":"https://api.github.com/users/gach87/orgs","repos_url":"https://api.github.com/users/gach87/repos","events_url":"https://api.github.com/users/gach87/events{/privacy}","received_events_url":"https://api.github.com/users/gach87/received_events","type":"User","site_admin":false},"repo":{"id":68410828,"name":"angularJs","full_name":"gach87/angularJs","owner":{"login":"gach87","id":3605164,"avatar_url":"https://avatars.githubusercontent.com/u/3605164?v=3","gravatar_id":"","url":"https://api.github.com/users/gach87","html_url":"https://github.com/gach87","followers_url":"https://api.github.com/users/gach87/followers","following_url":"https://api.github.com/users/gach87/following{/other_user}","gists_url":"https://api.github.com/users/gach87/gists{/gist_id}","starred_url":"https://api.github.com/users/gach87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gach87/subscriptions","organizations_url":"https://api.github.com/users/gach87/orgs","repos_url":"https://api.github.com/users/gach87/repos","events_url":"https://api.github.com/users/gach87/events{/privacy}","received_events_url":"https://api.github.com/users/gach87/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gach87/angularJs","description":"Curso de angularJs Benllisoft","fork":false,"url":"https://api.github.com/repos/gach87/angularJs","forks_url":"https://api.github.com/repos/gach87/angularJs/forks","keys_url":"https://api.github.com/repos/gach87/angularJs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gach87/angularJs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gach87/angularJs/teams","hooks_url":"https://api.github.com/repos/gach87/angularJs/hooks","issue_events_url":"https://api.github.com/repos/gach87/angularJs/issues/events{/number}","events_url":"https://api.github.com/repos/gach87/angularJs/events","assignees_url":"https://api.github.com/repos/gach87/angularJs/assignees{/user}","branches_url":"https://api.github.com/repos/gach87/angularJs/branches{/branch}","tags_url":"https://api.github.com/repos/gach87/angularJs/tags","blobs_url":"https://api.github.com/repos/gach87/angularJs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gach87/angularJs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gach87/angularJs/git/refs{/sha}","trees_url":"https://api.github.com/repos/gach87/angularJs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gach87/angularJs/statuses/{sha}","languages_url":"https://api.github.com/repos/gach87/angularJs/languages","stargazers_url":"https://api.github.com/repos/gach87/angularJs/stargazers","contributors_url":"https://api.github.com/repos/gach87/angularJs/contributors","subscribers_url":"https://api.github.com/repos/gach87/angularJs/subscribers","subscription_url":"https://api.github.com/repos/gach87/angularJs/subscription","commits_url":"https://api.github.com/repos/gach87/angularJs/commits{/sha}","git_commits_url":"https://api.github.com/repos/gach87/angularJs/git/commits{/sha}","comments_url":"https://api.github.com/repos/gach87/angularJs/comments{/number}","issue_comment_url":"https://api.github.com/repos/gach87/angularJs/issues/comments{/number}","contents_url":"https://api.github.com/repos/gach87/angularJs/contents/{+path}","compare_url":"https://api.github.com/repos/gach87/angularJs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gach87/angularJs/merges","archive_url":"https://api.github.com/repos/gach87/angularJs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gach87/angularJs/downloads","issues_url":"https://api.github.com/repos/gach87/angularJs/issues{/number}","pulls_url":"https://api.github.com/repos/gach87/angularJs/pulls{/number}","milestones_url":"https://api.github.com/repos/gach87/angularJs/milestones{/number}","notifications_url":"https://api.github.com/repos/gach87/angularJs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gach87/angularJs/labels{/name}","releases_url":"https://api.github.com/repos/gach87/angularJs/releases{/id}","deployments_url":"https://api.github.com/repos/gach87/angularJs/deployments","created_at":"2016-09-16T19:59:05Z","updated_at":"2016-09-18T03:04:03Z","pushed_at":"2016-09-21T19:22:35Z","git_url":"git://github.com/gach87/angularJs.git","ssh_url":"git@github.com:gach87/angularJs.git","clone_url":"https://github.com/gach87/angularJs.git","svn_url":"https://github.com/gach87/angularJs","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/1"},"html":{"href":"https://github.com/gach87/angularJs/pull/1"},"issue":{"href":"https://api.github.com/repos/gach87/angularJs/issues/1"},"comments":{"href":"https://api.github.com/repos/gach87/angularJs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gach87/angularJs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gach87/angularJs/statuses/328f6932816beb4f93cd2cdc59ff0bb24e66faa8"}}}}
{"actor":{"display_login":"gach87"}}