{"action":"opened","issue":{"url":"https://api.github.com/repos/aurelia/binding/issues/236","labels_url":"https://api.github.com/repos/aurelia/binding/issues/236/labels{/name}","comments_url":"https://api.github.com/repos/aurelia/binding/issues/236/comments","events_url":"https://api.github.com/repos/aurelia/binding/issues/236/events","html_url":"https://github.com/aurelia/binding/issues/236","id":117839383,"number":236,"title":"ref of the custom element in included view, undefined in the main view","user":{"login":"bsrdjan","id":1697847,"avatar_url":"https://avatars.githubusercontent.com/u/1697847?v=3","gravatar_id":"","url":"https://api.github.com/users/bsrdjan","html_url":"https://github.com/bsrdjan","followers_url":"https://api.github.com/users/bsrdjan/followers","following_url":"https://api.github.com/users/bsrdjan/following{/other_user}","gists_url":"https://api.github.com/users/bsrdjan/gists{/gist_id}","starred_url":"https://api.github.com/users/bsrdjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsrdjan/subscriptions","organizations_url":"https://api.github.com/users/bsrdjan/orgs","repos_url":"https://api.github.com/users/bsrdjan/repos","events_url":"https://api.github.com/users/bsrdjan/events{/privacy}","received_events_url":"https://api.github.com/users/bsrdjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-19T15:36:58Z","updated_at":"2015-11-19T15:36:58Z","closed_at":null,"body":"The main View is including the view with the custom element:\r\n```html\r\n<template>\r\n  <require from=\"./header.html\"></require>\r\n</template>\r\n```\r\n\r\n```html\r\n<!-- header.html -->\r\n<template>\r\n  <custel custel.ref=\"ref1\"></custel>\r\n</template>\r\n```\r\nThe model of the main View is not getting the ref1 reference, is undefined. I tried `<custel custel.ref=\"$this.ref1\"></custel>` (use Beta), did not help. Could it be a bug ?"}}