title: Insert Page Break after n number of rows
body: <p>I am using html2pdf to export html to pdf in AngularJS the issue I have is that I need to insert a page break after n number of rows.. BDW I am using dir-paginate...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;tr data-index="{{$index}}"
      dir-paginate="(ikey,iitem) in products | itemsPerPage:10"&gt;`
  </code></pre>
  
  <p>I tried different solutions but nothing works
  I have to insert a div with <code>class="html2pdf__page-break</code> and repeat the header for example every 10 rows.</p>