{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/6003","labels_url":"https://api.github.com/repos/angular/angular/issues/6003/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/6003/comments","events_url":"https://api.github.com/repos/angular/angular/issues/6003/events","html_url":"https://github.com/angular/angular/issues/6003","id":122929879,"number":6003,"title":"Unexpected token error when using router.","user":{"login":"RobiFerentz","id":4889861,"avatar_url":"https://avatars.githubusercontent.com/u/4889861?v=3","gravatar_id":"","url":"https://api.github.com/users/RobiFerentz","html_url":"https://github.com/RobiFerentz","followers_url":"https://api.github.com/users/RobiFerentz/followers","following_url":"https://api.github.com/users/RobiFerentz/following{/other_user}","gists_url":"https://api.github.com/users/RobiFerentz/gists{/gist_id}","starred_url":"https://api.github.com/users/RobiFerentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobiFerentz/subscriptions","organizations_url":"https://api.github.com/users/RobiFerentz/orgs","repos_url":"https://api.github.com/users/RobiFerentz/repos","events_url":"https://api.github.com/users/RobiFerentz/events{/privacy}","received_events_url":"https://api.github.com/users/RobiFerentz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-18T11:14:30Z","updated_at":"2015-12-18T11:58:33Z","closed_at":"2015-12-18T11:58:33Z","body":"When attempting to follow the instructions of the Crisis Center example, Adding a RouterConfig annotation or even adding the ROUTER_PROVIDERS to the bootstrap call will cause an unexpected token error.\r\n\r\n![screen shot 2015-12-18 at 13 10 26](https://cloud.githubusercontent.com/assets/4889861/11895679/6b3183b0-a589-11e5-8b73-1e5ce0a978c4.png)\r\n\r\n\r\nWhen running the plunker example locally (that is runtime transpiling with remote script tags), it works fine, but even when copying the plunker ts files into my own project and transpiling with 'npm start', the error appears. \r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/165763456","html_url":"https://github.com/angular/angular/issues/6003#issuecomment-165763456","issue_url":"https://api.github.com/repos/angular/angular/issues/6003","id":165763456,"user":{"login":"RobiFerentz","id":4889861,"avatar_url":"https://avatars.githubusercontent.com/u/4889861?v=3","gravatar_id":"","url":"https://api.github.com/users/RobiFerentz","html_url":"https://github.com/RobiFerentz","followers_url":"https://api.github.com/users/RobiFerentz/followers","following_url":"https://api.github.com/users/RobiFerentz/following{/other_user}","gists_url":"https://api.github.com/users/RobiFerentz/gists{/gist_id}","starred_url":"https://api.github.com/users/RobiFerentz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobiFerentz/subscriptions","organizations_url":"https://api.github.com/users/RobiFerentz/orgs","repos_url":"https://api.github.com/users/RobiFerentz/repos","events_url":"https://api.github.com/users/RobiFerentz/events{/privacy}","received_events_url":"https://api.github.com/users/RobiFerentz/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T11:58:33Z","updated_at":"2015-12-18T11:58:33Z","body":"Hmm. thanks. Is there an explanation why such an element is needed? \r\n"}}