title: Clear Filter Angular 6
body: <p>I have a table with a filter like this:</p>
  
  <pre><code>&lt;form  [formGroup]="form"  (ngSubmit)="onSubmit()"&gt;
     &lt;mat-form-field class="filter" floatLabel="never"&gt;
        &lt;mat-label&gt;Name&lt;/mat-label&gt;
           &lt;input matInput formControlName="nameFilter"&gt;
        &lt;/mat-form-field&gt; 
    &lt;button mat-raised-button class="search"&gt;Search&lt;/button&gt;
  &lt;/form&gt;
  
  &lt;button mat-raised-button class="reset" (click)="resetFilter()"&gt;Reset&lt;/button&gt;
  </code></pre>
  
  <p>What should I insert in my TS to be able to cancel the filter?
  Do I need to insert the button "filter" inside the form?</p>