{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/434","repository_url":"https://api.github.com/repos/ga-wdi-exercises/project3","labels_url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/434/comments","events_url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/434/events","html_url":"https://github.com/ga-wdi-exercises/project3/issues/434","id":214222279,"number":434,"title":"Creating a new Attendance in ShowEventController","user":{"login":"justwes2","id":24883096,"avatar_url":"https://avatars1.githubusercontent.com/u/24883096?v=3","gravatar_id":"","url":"https://api.github.com/users/justwes2","html_url":"https://github.com/justwes2","followers_url":"https://api.github.com/users/justwes2/followers","following_url":"https://api.github.com/users/justwes2/following{/other_user}","gists_url":"https://api.github.com/users/justwes2/gists{/gist_id}","starred_url":"https://api.github.com/users/justwes2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justwes2/subscriptions","organizations_url":"https://api.github.com/users/justwes2/orgs","repos_url":"https://api.github.com/users/justwes2/repos","events_url":"https://api.github.com/users/justwes2/events{/privacy}","received_events_url":"https://api.github.com/users/justwes2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-03-14T22:12:21Z","updated_at":"2017-03-14T22:40:11Z","closed_at":null,"body":"@superbuggy \r\nNot sure. Lets check the code:\r\n```\r\n  <select placeholder=\"Who's going?\" class=\"rsvp\" name=\"rsvp\" ng-model=\"vm.studentGoing\">\r\n       <option ng-repeat=\"student in vm.students\" value={{student.id}} ng-model = \"vm.newAttendance\">{{student.name}}</option>\r\n      </select>\r\n      <button type=\"submit\" value=\"Submit\" **ng-click = \"vm.addAttendance()**\">I'm going</button>\r\n```\r\nThe submit button has ng-click to run the function, I don't see any spelling errors, and the console stayed empty- no logs or errors. That should bridge to `  function addAttendance(AttendanceFactory, attendance) {` but since the next line is the console log, we know it doesn't"},"comment":{"url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/comments/286584049","html_url":"https://github.com/ga-wdi-exercises/project3/issues/434#issuecomment-286584049","issue_url":"https://api.github.com/repos/ga-wdi-exercises/project3/issues/434","id":286584049,"user":{"login":"justwes2","id":24883096,"avatar_url":"https://avatars1.githubusercontent.com/u/24883096?v=3","gravatar_id":"","url":"https://api.github.com/users/justwes2","html_url":"https://github.com/justwes2","followers_url":"https://api.github.com/users/justwes2/followers","following_url":"https://api.github.com/users/justwes2/following{/other_user}","gists_url":"https://api.github.com/users/justwes2/gists{/gist_id}","starred_url":"https://api.github.com/users/justwes2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justwes2/subscriptions","organizations_url":"https://api.github.com/users/justwes2/orgs","repos_url":"https://api.github.com/users/justwes2/repos","events_url":"https://api.github.com/users/justwes2/events{/privacy}","received_events_url":"https://api.github.com/users/justwes2/received_events","type":"User","site_admin":false},"created_at":"2017-03-14T22:40:11Z","updated_at":"2017-03-14T22:40:11Z","body":"event_id is the one that is working. If I add `this.event = EventFactory.get({id: $stateParams.id});`, it becomes undefined. I need to find a way to access the id property of the `this.student` object. When I explore in in the console, it does this weird recursive thing: \r\n<img width=\"365\" alt=\"screen shot 2017-03-14 at 6 39 19 pm\" src=\"https://cloud.githubusercontent.com/assets/24883096/23925441/9a853380-08e5-11e7-9b62-4ee9a00a9053.png\">\r\nWhere it just falls into a loop. I'm not sure why its' doing that."}}
{"actor":{"display_login":"justwes2"}}