title: Angular 2 - How to pass "checked" attribute to child in template?
body: <p>I have a custom directive <code>&lt;foo checked&gt;&lt;/foo&gt;</code>. In the template of <code>foo</code> I have <code>&lt;input type="checkbox"&gt;</code>. If <code>checked</code> is on <code>foo</code>, I want to have <code>&lt;input type="checkbox" checked&gt;</code>. I have not yet seen how to handle these attributes which do not have values, detect them, and mark child elements with them if they are present.</p>
  
  <p>Help on this is appreciated.</p>