title: How to reset the paginator?
body: <p>How to reset the paginator and go to the first page? <code>this.page = 1</code> does not work correctly. Just in case, I'll explain that I do not use <code>MatPaginator</code>.</p>
  
  <p>ts:</p>
  
  <pre><code>  pageSizeOptions = [5, 10, 25, 50, 100];
    pageSize = 5;
    page = 1;
  
     applyFilter() {
      let searchFilter: any = {
        filterValue: this.search
      };
      this.categories.filter = searchFilter;
      if (this.page !== 1) {
        this.page = 1;
      } else {
        this.load();
      }
    }
  
    onPaginateChange(event) {
      this.page = event.pageIndex + 1;
      this.pageSize = event.pageSize;
      this.load();
    }
  </code></pre>
  
  <p>html: </p>
  
  <pre><code>&lt;mat-paginator [pageSizeOptions]="pageSizeOptions" [length]="totalItems" [pageSize]="pageSize"
        (page)="onPaginateChange($event)" showFirstLastButtons [disabled]="!isActive"&gt;
  &lt;/mat-paginator&gt;
  </code></pre>