{"action":"created","issue":{"url":"https://api.github.com/repos/aurelia/templating-router/issues/1","labels_url":"https://api.github.com/repos/aurelia/templating-router/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/templating-router/issues/1/comments","events_url":"https://api.github.com/repos/aurelia/templating-router/issues/1/events","html_url":"https://github.com/aurelia/templating-router/issues/1","id":53891250,"number":1,"title":"Injected Element returns wrong parent","user":{"login":"zewa666","id":2861414,"avatar_url":"https://avatars.githubusercontent.com/u/2861414?v=3","gravatar_id":"","url":"https://api.github.com/users/zewa666","html_url":"https://github.com/zewa666","followers_url":"https://api.github.com/users/zewa666/followers","following_url":"https://api.github.com/users/zewa666/following{/other_user}","gists_url":"https://api.github.com/users/zewa666/gists{/gist_id}","starred_url":"https://api.github.com/users/zewa666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zewa666/subscriptions","organizations_url":"https://api.github.com/users/zewa666/orgs","repos_url":"https://api.github.com/users/zewa666/repos","events_url":"https://api.github.com/users/zewa666/events{/privacy}","received_events_url":"https://api.github.com/users/zewa666/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-09T17:15:53Z","updated_at":"2015-01-10T16:25:58Z","closed_at":"2015-01-10T05:44:35Z","body":"I've tried to inject the Element to the Welcome-Page of the Skeleton-App in order to get the parent element.\r\n\r\n````\r\nexport class Welcome{\r\n    static inject() { return [Element]; }\r\n  constructor(Element){\r\n    this.element = Element;\r\n  }\r\n\r\n  attached() {\r\n    console.log(this.element);\r\n  }\r\n}\r\n````\r\nbut instead of route-view it returns the body tag"},"comment":{"url":"https://api.github.com/repos/aurelia/templating-router/issues/comments/69461505","html_url":"https://github.com/aurelia/templating-router/issues/1#issuecomment-69461505","issue_url":"https://api.github.com/repos/aurelia/templating-router/issues/1","id":69461505,"user":{"login":"zewa666","id":2861414,"avatar_url":"https://avatars.githubusercontent.com/u/2861414?v=3","gravatar_id":"","url":"https://api.github.com/users/zewa666","html_url":"https://github.com/zewa666","followers_url":"https://api.github.com/users/zewa666/followers","following_url":"https://api.github.com/users/zewa666/following{/other_user}","gists_url":"https://api.github.com/users/zewa666/gists{/gist_id}","starred_url":"https://api.github.com/users/zewa666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zewa666/subscriptions","organizations_url":"https://api.github.com/users/zewa666/orgs","repos_url":"https://api.github.com/users/zewa666/repos","events_url":"https://api.github.com/users/zewa666/events{/privacy}","received_events_url":"https://api.github.com/users/zewa666/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T16:25:58Z","updated_at":"2015-01-10T16:25:58Z","body":"Tried it, really liked it, although I'd prefer the second syntax ref=\"...\""}}