title: Angular 2 component dynamic name
body: <p>How i can set dynamic name to angular 2 component?</p>
  
  <p>I have next code in my template:</p>
  
  <pre><code>&lt;{{component} [data]="data" [anotherData]="anotherData"&gt;&lt;/{{component}}&gt;
  </code></pre>
  
  <p>And I want do define componentName in my class</p>
  
  <pre><code>component: string = 'component';
  </code></pre>
  
  <p>Because now i have next error: </p>
  
  <pre><code>Uncaught (in promise): Template parse errors:
  Unexpected closing tag "{{component}" ("
  </code></pre>