title: ViewChild ng2 set content not working in internet explorer
body: <p>I need to change text area height according to its content height.
  The textarea control is displayed when a 'Edit' button is pressed.</p>
  
  <p><code>@ViewChild</code> does not recognize the element because it does not exist in DOM when the component initialized.</p>
  
  <p>Using <code>set content</code> fix this problem but it only works on chrome. Internet explorer not support it.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;ng-containter *ngIf="isEdit"&gt;
     &lt;textarea #text formControlName="text"&gt;&lt;/textArea&gt;
  &lt;/ng-Containter&gt;
  </code></pre>
  
  <p>.
  .
  .</p>
  
  <pre><code>private text:ElementRef
  @ViewChild('text') set content(content:ElementRef){
     this.text = content;
     if (this.text){
         this.text.nativeElement.style.height = (this.text.nativeElement.scrollHeight) + "px";
     }
  }
  </code></pre>
  
  <p>Any solution?</p>