title: ResizeTextArea in angular 5
body: <p>I'm new to Angular. I want to make textarea autoresizable, like in this case <a href="https://www.primefaces.org/primeng/#/inputtextarea" rel="nofollow noreferrer">https://www.primefaces.org/primeng/#/inputtextarea</a>. I tried different approaches, but nothing works on Angular 5. </p>
  
  <p>This code shows my initial version of textarea.</p>
  
  <pre><code>&lt;div class="form-group" contenteditable="true"&gt;
      &lt;label for="description"&gt;Description&lt;/label&gt;
      &lt;textarea type="text" class="form-control" id="description" [(ngModel)]="dish.description" #description="ngModel" name="description" required&gt;&lt;/textarea&gt;
      &lt;div [hidden]="description.valid || description.pristine" class="alert alert-danger"&gt;Description can't be empty&lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I'll appreciate your help, thanks.</p>