title: BackEnd Pagination with ngb-Pagination maxSize value Incorrect
body: <p>This is my Pagination call</p>
  
  <pre><code>&lt;ngb-pagination class="d-flex justify-content-end" 
    (pageChange)="changePg({pgNum: $event})" 
    [maxSize]="pagination?.totalPageCnt"
    size="sm"
    rotate="true"
    [page]="pagination?.page" 
    [collectionSize]="pagination?.MatchedCnt"&gt;
  &lt;/ngb-pagination&gt;
  </code></pre>
  
  <p>This is My response from the server with the Pagination information: </p>
  
  <pre><code>pagination:{
      page: 1
      pageSize: 50
      totalPageCnt: 11
      matchedCnt: 532
      sentCnt: 50
  }
  </code></pre>
  
  <p>this is the resulting Page. I don't understand why the MaxSize value is applying in correctly...54 is nowhere in my response or being called anywhere...
  <a href="https://i.stack.imgur.com/U0Ow2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U0Ow2.png" alt="enter image description here"></a></p>
  
  <p>Ignore the drop down that's to show the page size and works. So does the page number the values are being passed correctly. However, maxSize of the pagination display is way off it's supposed to be 11 but sits at 54. The values aren't being manipulated anywhere. I receive the pagination object and display the values in my template.</p>