title: Angular DataTables back to the first page in pagination when click back
body: <p>I have an Angular project where I am using datatables but when I am browsing in the table and I am at the page 8 for example and I click another page and click back again to the table it's resetting the pagination and show me the page 1 instead of 8</p>
  <p>Please how to fix that?</p>
  <p>TS</p>
  <pre><code>allDestinations: any[] = [];
  
  dtOptions: DataTables.Settings = {};
  
  ngOnInit(): void {
    this.dtOptions = {
      pagingType: 'full_numbers',
      pageLength: 25,
      processing: true,
    };
  
    this._DestinationsService.destinations().subscribe((data) =&gt; {
      this.allDestinations = data;
    });
  }
  </code></pre>
  <p>HTML</p>
  <pre><code>&lt;table class=&quot;table table-bordered table-hover my-5&quot; *ngIf=&quot;allDestinations.length &gt; 0&quot; datatable
          [dtOptions]=&quot;dtOptions&quot;&gt;
  </code></pre>