{"action":"created","issue":{"url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/1","repository_url":"https://api.github.com/repos/yolixtly/countries-and-capitals","labels_url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/1/comments","events_url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/1/events","html_url":"https://github.com/yolixtly/countries-and-capitals/pull/1","id":163533152,"number":1,"title":"module is not defined","user":{"login":"yolixtly","id":16545391,"avatar_url":"https://avatars.githubusercontent.com/u/16545391?v=3","gravatar_id":"","url":"https://api.github.com/users/yolixtly","html_url":"https://github.com/yolixtly","followers_url":"https://api.github.com/users/yolixtly/followers","following_url":"https://api.github.com/users/yolixtly/following{/other_user}","gists_url":"https://api.github.com/users/yolixtly/gists{/gist_id}","starred_url":"https://api.github.com/users/yolixtly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yolixtly/subscriptions","organizations_url":"https://api.github.com/users/yolixtly/orgs","repos_url":"https://api.github.com/users/yolixtly/repos","events_url":"https://api.github.com/users/yolixtly/events{/privacy}","received_events_url":"https://api.github.com/users/yolixtly/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yolixtly/countries-and-capitals/labels/help%20wanted","name":"help wanted","color":"128A0C"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-02T19:47:46Z","updated_at":"2016-07-02T21:02:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/yolixtly/countries-and-capitals/pulls/1","html_url":"https://github.com/yolixtly/countries-and-capitals/pull/1","diff_url":"https://github.com/yolixtly/countries-and-capitals/pull/1.diff","patch_url":"https://github.com/yolixtly/countries-and-capitals/pull/1.patch"},"body":"Hello there! \r\n\r\neverytime I run Karma start, I get the same error as this: http://stackoverflow.com/questions/23644218/karma-declaration-exception \r\n\r\nI have already check that all my modules are correctly spelled and defined, because my previous problem was the following:  https://johnpapa.net/easy-fix-to-a-common-angular-module-error/ My mistake was to declare a module like this: angular.module('CoCaApp'); instead of  angular.module('CoCaApp', []);\r\n\r\nI really dont know where the error is! If someone can help me checking my code, I will appreciate it tons! \r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/comments/230121921","html_url":"https://github.com/yolixtly/countries-and-capitals/pull/1#issuecomment-230121921","issue_url":"https://api.github.com/repos/yolixtly/countries-and-capitals/issues/1","id":230121921,"user":{"login":"MrSkinny","id":3757471,"avatar_url":"https://avatars.githubusercontent.com/u/3757471?v=3","gravatar_id":"","url":"https://api.github.com/users/MrSkinny","html_url":"https://github.com/MrSkinny","followers_url":"https://api.github.com/users/MrSkinny/followers","following_url":"https://api.github.com/users/MrSkinny/following{/other_user}","gists_url":"https://api.github.com/users/MrSkinny/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSkinny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSkinny/subscriptions","organizations_url":"https://api.github.com/users/MrSkinny/orgs","repos_url":"https://api.github.com/users/MrSkinny/repos","events_url":"https://api.github.com/users/MrSkinny/events{/privacy}","received_events_url":"https://api.github.com/users/MrSkinny/received_events","type":"User","site_admin":false},"created_at":"2016-07-02T21:02:46Z","updated_at":"2016-07-02T21:02:46Z","body":"This defines a NEW module: \r\n```\r\nangular.module('newModule', []);\r\n```\r\n\r\nThis calls an already defined module and lets you chain methods to add functionality (e.g. `.controller()`, `.factory()`, etc:\r\n```\r\nangular.module('existingModule')\r\n```\r\n\r\nWithout reviewing the code, your error suggests to me you're trying to add functionality to a module not previously defined, like `angular.module('newModule').controller(function(){...});`  You MUST add the second array param once in your code somewhere.\r\n"}}
{"actor":{"display_login":"MrSkinny"}}