title: How to retain the pagination number, after reloading the page
body: <p>I am using Angular PrimeNG Paginator Component (i.e <code>p-paginator</code>).</p>
  <p>The HTML part of the code looks like :</p>
  <pre><code>&lt;div class=&quot;paginator paginator-product mb-5&quot;&gt;
          &lt;p-paginator [rows]=&quot;12&quot; pageLinkSize=&quot;6&quot; [alwaysShow]=&quot;false&quot; [showCurrentPageReport]=&quot;true&quot;
            [totalRecords]=&quot;totalRecords&quot; #paginator (onPageChange)=&quot;onPageChange($event)&quot;&gt;&lt;/p-paginator&gt;
        &lt;/div&gt;
  </code></pre>
  <p><strong>Here the issue is that, suppose current page is on 6th index, when I am reloading the page, it gets back to 1 (the position of the page is not retaining)</strong></p>
  <p><a href="https://i.stack.imgur.com/Atyd8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Atyd8.png" alt="enter image description here" /></a></p>
  <p>Is there any way, that I can retain the page number even after reloading the page OR make the paginator to get selected at a particular index.</p>