title: Angular: How to pass an inline style to component
body: <p>I have created a custom component. The component's HTML scaffolding contains very simple HTML.</p>
  
  <pre><code>&lt;!-- Generated template for the MyComponent component --&gt;
  &lt;div&gt;
    {{text}}
  &lt;/div&gt;
  </code></pre>
  
  <p>But adding a style like this did not work.</p>
  
  <pre><code>&lt;my-component style="height:300px; background:gray;"&gt;&lt;/my-component&gt;
  </code></pre>
  
  <p>I think I need to pass that style to the <code>&lt;div&gt;</code>. But how?</p>