title: Angular innerHTML property not working while try to render button control
body: <p>I have created angular application.in here, i want to inject some content using [innerHTML] property like below</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>export class AppComponent  {
    name = 'Angular';
    public bar = 'bars';
    foo = `&lt;div&gt;`+this.bar+`
    &lt;/div&gt;
    &lt;button type="button" onclick="alert('Hello world!')"&gt;Click Me!&lt;/button&gt;
  `;
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>I have used this in html file like below</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div [innerHTML]="foo"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But I just simply return only div element. button control is not getting rendered.</p>
  
  <p>I have created a stackb sample for your reference. please provide any idea how to do it</p>
  
  <blockquote>
    <p>sample - <a href="https://stackblitz.com/edit/angular-ena2xj?file=src/app/app.component.ts" rel="noreferrer">https://stackblitz.com/edit/angular-ena2xj?file=src/app/app.component.ts</a></p>
  </blockquote>
  
  <p>Reference - <a href="https://stackoverflow.com/questions/31548311/angular-html-binding">Angular HTML binding</a></p>