{"action":"created","issue":{"url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/1","repository_url":"https://api.github.com/repos/pleerock/ng2-radio-group","labels_url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/1/comments","events_url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/1/events","html_url":"https://github.com/pleerock/ng2-radio-group/issues/1","id":140991579,"number":1,"title":"Systemjs error","user":{"login":"Mewel","id":1984531,"avatar_url":"https://avatars.githubusercontent.com/u/1984531?v=3","gravatar_id":"","url":"https://api.github.com/users/Mewel","html_url":"https://github.com/Mewel","followers_url":"https://api.github.com/users/Mewel/followers","following_url":"https://api.github.com/users/Mewel/following{/other_user}","gists_url":"https://api.github.com/users/Mewel/gists{/gist_id}","starred_url":"https://api.github.com/users/Mewel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mewel/subscriptions","organizations_url":"https://api.github.com/users/Mewel/orgs","repos_url":"https://api.github.com/users/Mewel/repos","events_url":"https://api.github.com/users/Mewel/events{/privacy}","received_events_url":"https://api.github.com/users/Mewel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-15T14:38:29Z","updated_at":"2016-03-16T06:11:07Z","closed_at":null,"body":"I get an error when using this directive:\r\n\r\nSyntaxError: Unexpected token <\r\n\tEvaluating http://localhost:3000/ng2-radio-group/ng2-radio-group\r\n\tError loading http://localhost:3000/dist/main.js\r\n    at eval (native)\r\n    at SystemJSLoader.__exec (http://localhost:3000/node_modules/systemjs/dist/system.src.js:1395:16)\r\n\r\nDon't get any closer to the problem. This happens when I add the directive to the component:\r\n\r\n@Component({\r\n    selector: '...',\r\n    changeDetection: ChangeDetectionStrategy.OnPush,\r\n    templateUrl: '...',\r\n    directives: [RADIO_GROUP_DIRECTIVES]\r\n})\r\n\r\nthose are my dependencies\r\n\r\n  \"dependencies\": {\r\n    \"angular2\": \"2.0.0-beta.8\",\r\n    \"es6-promise\": \"^3.0.2\",\r\n    \"es6-shim\": \"^0.33.3\",\r\n    \"ng2-radio-group\": \"0.0.2\",\r\n    \"reflect-metadata\": \"0.1.2\",\r\n    \"rxjs\": \"5.0.0-beta.2\",\r\n    \"systemjs\": \"0.19.22\",\r\n    \"zone.js\": \"0.5.15\"\r\n  },"},"comment":{"url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/comments/197168494","html_url":"https://github.com/pleerock/ng2-radio-group/issues/1#issuecomment-197168494","issue_url":"https://api.github.com/repos/pleerock/ng2-radio-group/issues/1","id":197168494,"user":{"login":"pleerock","id":1753397,"avatar_url":"https://avatars.githubusercontent.com/u/1753397?v=3","gravatar_id":"","url":"https://api.github.com/users/pleerock","html_url":"https://github.com/pleerock","followers_url":"https://api.github.com/users/pleerock/followers","following_url":"https://api.github.com/users/pleerock/following{/other_user}","gists_url":"https://api.github.com/users/pleerock/gists{/gist_id}","starred_url":"https://api.github.com/users/pleerock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pleerock/subscriptions","organizations_url":"https://api.github.com/users/pleerock/orgs","repos_url":"https://api.github.com/users/pleerock/repos","events_url":"https://api.github.com/users/pleerock/events{/privacy}","received_events_url":"https://api.github.com/users/pleerock/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T06:11:07Z","updated_at":"2016-03-16T06:11:07Z","body":"I personally use it with system.js and have no problem with it. Maybe error in your system.js configuration? Try to post complete code what you are doing"}}