title: AngularJS - Swipe effect with Pager
body: <p>I am using Pagination for my list of records. It is working correctly.</p>
  
  <p>I need to implement Swipe effect so i used :-</p>
  
  <pre><code>&lt;script src=".../angular-touch.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>The swipe effect do works, but records do not change. When i click Next nothing happens. I have noticed that i get <code>page</code> as <code>undefined</code> in <code>recentRecords(page)</code></p>
  
  <pre><code>&lt;pager total-items="recenttotalItems" page="currentPage" items-per-page="recentitemsperpage" max-size="maxsize" on-select-page="recentRecords(page)" ng-swipe-left="recentRecords(page)" ng-swipe-right="recentRecords(page)" class="pagination-sm"
                          previous-text="&lt;&lt;" next-text="&gt;&gt;"&gt;&lt;/pager&gt;
  </code></pre>
  
  <p>How to pass current page number?</p>