{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular/issues/8200","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/8200/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/8200/comments","events_url":"https://api.github.com/repos/angular/angular/issues/8200/events","html_url":"https://github.com/angular/angular/issues/8200","id":150505457,"number":8200,"title":"Routeconfig issue commenting within export class line","user":{"login":"KHAAAAN","id":12839583,"avatar_url":"https://avatars.githubusercontent.com/u/12839583?v=3","gravatar_id":"","url":"https://api.github.com/users/KHAAAAN","html_url":"https://github.com/KHAAAAN","followers_url":"https://api.github.com/users/KHAAAAN/followers","following_url":"https://api.github.com/users/KHAAAAN/following{/other_user}","gists_url":"https://api.github.com/users/KHAAAAN/gists{/gist_id}","starred_url":"https://api.github.com/users/KHAAAAN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KHAAAAN/subscriptions","organizations_url":"https://api.github.com/users/KHAAAAN/orgs","repos_url":"https://api.github.com/users/KHAAAAN/repos","events_url":"https://api.github.com/users/KHAAAAN/events{/privacy}","received_events_url":"https://api.github.com/users/KHAAAAN/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-23T01:30:42Z","updated_at":"2016-09-27T03:52:56Z","closed_at":"2016-09-27T03:52:56Z","body":"So lets say you have an app.component.ts and in it you have this:\r\n\r\n@RouteConfig([\r\n\t{\r\n\t\tpath: '/business_demographics', \r\n\t\tname: 'LocationForm',\r\n\t\tcomponent: LocationFormComponent,\r\n\t\tuseAsDefault: true\r\n\t}\r\n])\r\n\r\nlets say i have a location.form.component with the component decorator and the following code:\r\n\r\nexport class LocationFormComponent /\\*implements OnInit\\*/ {\r\n ngOnInit(){\r\n//etc..\r\n}\r\n}\r\n\r\nI get the following log issue, HOWEVER it works just fine without defining it in our RouteConfig. \r\n\r\n[log file](https://github.com/angular/angular/files/232755/notswag.txt)\r\n\r\n\r\nTo fix: Once you take out the comment /\\*implements OnInit\\*/ it will work with RouteConfig.\r\nSorry if this is a known issue or I'm missing something, but it got me for a bit and was hoping if it ever came up with anyone else, this might help.\r\n\r\nAlso, I was using beta11 for this app. "}}
{"actor":{"display_login":"vicb"}}