title: How to show 1 to 10 of 12 results in angular
body: <p>I want to show pagination detail in the bottom of table in angular.
  I try these code:</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr dir-paginate="reject in rejects|orderBy:sortKey:reverse|filter:search|itemsPerPage:itemsPerPage"
                                  current-page="currentPage" style="border-bottom: solid 1px #ccc"&gt;
  &lt;td&gt;@{{itemsPerPage *(currentPage-1)+$index+1}}&lt;/td&gt;
  &lt;td&gt;&lt;a ng-href="recorddetail/@{{reject.rec_id}}"
      style="text-decoration: none;"&gt;@{{reject.fullname}}&lt;/a&gt;&lt;/td&gt;
                         &lt;td&gt;@{{reject.name}}&lt;/td&gt;
                         &lt;td&gt;@{{reject.id}}&lt;/td&gt;
                         &lt;td&gt;@{{reject.placeofb}}&lt;/td&gt;
                         &lt;td&gt;@{{reject.dateofb}}&lt;/td&gt;                          
                        &lt;/tr&gt;
  
       &lt;/table&gt;
  
      &lt;div style="float: left"&gt;
        &lt;span&gt;Showing Result @{{itemsPerPage *(currentPage-1)+$index+1}} to  @{{     
        (itemsPerPage * currentPage) }} of  @{{rejects.length}}&lt;/span&gt;     
      &lt;/div&gt;
      &lt;dir-pagination-controls
           page-size="1" direction-links="true"
               boundary-links="true" style="margin-top: 0; float: right;margin-bottom:
          10px;"&gt;
      &lt;/dir-pagination-controls&gt;
  </code></pre>
  
  <p>How can i get "show 1 to 10 of 72 results" in page and search page in angular?</p>