title: Angular 2 CreateElement
body: <p>I am trying to use the statement of <code>document.createelement</code> in TypeScript but until now i could find a way to solve this problem is there are a way to create this function .</p>
  
  <p>this is the component</p>
  
  <pre><code>import {Component,ViewChild, ElementRef} from '@angular/core';
  @Component({
  
  selector: 'my-Calc',
    templateUrl:'./app/Calculator/calculator.component.html'
  })
  export class Calculator{
    tablerow:[1,2,3];
    calcItems :[1,2,3,4,5,6,7,8,9];
  }
  </code></pre>
  
  <p>this is my html template</p>
  
  <pre><code>&lt;div&gt;
    &lt;table *ngFor="let tRow of tablerow"&gt;
  &lt;tr *ngFor=" let tItems of tablerow"&gt;
    {{tRow}}&lt;td &gt;{{tItems}}&lt;/td&gt;
  &lt;/tr&gt;
    &lt;/table&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to create a button element in each table box i have created 
  by the way this is not the full code and thanks for help</p>