title: [Angular 6]Passing code into a component dynamically
body: <p>anyone knows if it is possible to pass a piece of HTML code into a component, which is interpreted inside the component instead of at the parent.</p>
  
  <p>For example,</p>
  
  <pre><code>&lt;my-component&gt;Hello {{variableInsideTheComponent}}&lt;/my-component&gt;
  </code></pre>
  
  <p>which variableInsideTheComponent refers to a variable defined inside the component scope.</p>