{"action":"closed","issue":{"url":"https://api.github.com/repos/HappyFunCorp/happy_seed/issues/46","labels_url":"https://api.github.com/repos/HappyFunCorp/happy_seed/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/HappyFunCorp/happy_seed/issues/46/comments","events_url":"https://api.github.com/repos/HappyFunCorp/happy_seed/issues/46/events","html_url":"https://github.com/HappyFunCorp/happy_seed/issues/46","id":86883073,"number":46,"title":"angular setup contoroller is wrong","user":{"login":"rstormsf","id":9360827,"avatar_url":"https://avatars.githubusercontent.com/u/9360827?v=3","gravatar_id":"","url":"https://api.github.com/users/rstormsf","html_url":"https://github.com/rstormsf","followers_url":"https://api.github.com/users/rstormsf/followers","following_url":"https://api.github.com/users/rstormsf/following{/other_user}","gists_url":"https://api.github.com/users/rstormsf/gists{/gist_id}","starred_url":"https://api.github.com/users/rstormsf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstormsf/subscriptions","organizations_url":"https://api.github.com/users/rstormsf/orgs","repos_url":"https://api.github.com/users/rstormsf/repos","events_url":"https://api.github.com/users/rstormsf/events{/privacy}","received_events_url":"https://api.github.com/users/rstormsf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-10T08:10:39Z","updated_at":"2015-07-22T23:35:46Z","closed_at":"2015-07-22T23:35:46Z","body":" Argument 'LandingCtrl' is not a function, got undefined\r\n\r\nbecause in controller is not properly defined\r\n\r\nhttps://github.com/HappyFunCorp/happy_seed/blob/b3add6ef496fbbd27def390020ad211b2302da14/lib/generators/happy_seed/angular_view/templates/app/assets/javascripts/controllers/controller.js.coffee\r\n\r\nthe way to do it is lets say we make our `app` object global and then\r\n`app.controller('LandingCtrl', [])`"}}