title: uib-pagination NOT working Angularjs
body: <h2>EDIT!</h2>
  
  <p>added more code snippets and plunker updated (AGAIN)</p>
  
  <p>Still pretty new to Angular and coding in general.</p>
  
  <p>I've tried and tried to instantiate the UI Pagination from the <a href="https://angular-ui.github.io/bootstrap/#/pagination" rel="nofollow">Angular Directives</a> website. I've scoured Stack Overflow and codeProject and various other sites. I can not for the life of me get my pagination to work.</p>
  
  <p>I don't know what else to try. I'm pretty sure I've called enough properties</p>
  
  <pre><code>&lt;uib-pagination
      items-per-page="itemsPerPage"
      ng-model="currentPage"
      max-size="maxSize"
      class="pagination-sm"
      next-text="&amp;raquo;"
      previous-text="&amp;laquo;"
      boundary-links="false" &gt;
  &lt;/uib-pagination&gt;
  </code></pre>
  
  <p>and running the controller:</p>
  
  <pre><code>app.controller('PaginationControl',function ($scope,  $window) {
      // Pagination variables
      $scope.totalItems = 100; //this needs to be changed to represent the total of filtered parks after a search is done and NOT a static number.
      $scope.currentPage = 1;
      $scope.maxSize = 8;
      $scope.itemsPerPage = 10;
  </code></pre>
  
  <p>});</p>
  
  <p>What I don't understand is how to change the pagination properties from static numbers hard coded in the controller to dynamic numbers based off the results of my search.</p>
  
  <p>Here's a <a href="http://plnkr.co/edit/hJS2HqZXyeCYKN4WxwSt?p=preview" rel="nofollow">Plunker</a> which has everything but the pagination working.</p>
  
  <p>Much obliged </p>