title: ng-repeat is not updating when array is changed
body: <p>I have an ng-repeat that isn't updating upon changing the data in the array that it is using.  I've researched for quite a while but nothing seems to be working.  Initially, when the page loads, the ng-repeat displays the first page of a dataset, upon getting new data (the next page) and setting that array with this data, the ng-repeat isn't noticing the change and never populates with the updated array.  It would be greatly appreciated if someone could steer me in the right direction on this.</p>
  
  <pre><code>gatekeeper.controller('businessController', ['$scope', 'siteService', function($scope, siteService) {
  
  $scope.page = 1;
  $scope.resultsPerPage = 50;
  $scope.maxPaginationSite = 10;
  $scope.pageCount = 0;
  $scope.resultCount = 0;
  $scope.getBusinessSites = [];
  
  function getBusinessSites()
  {
      siteService.getBusinessSites($scope.page, $scope.resultsPerPage).then(function(response) {
          $scope.getBusinessSites = response.data;
          console.log($scope.getBusinessSites);
          $scope.resultCount = response.data[0].QueryCount;
          $scope.page = response.data[0].Page;
          $scope.pageCount = Math.ceil($scope.resultCount / 50);
      });
  }
  getBusinessSites();
  $scope.pageChanged = function () {
      $scope.page = this.page;
      getBusinessSites($scope.page, $scope.resultsPerPage);
  
  };
  </code></pre>
  
  <p>}]);</p>
  
  <pre><code>&lt;tbody ng-controller="businessController"&gt;
  
          &lt;tr ng-repeat="site in getBusinessSites"&gt;
              &lt;td&gt;{{ site.SiteName }}&lt;/td&gt;
  
              &lt;td class="tableButton"&gt;
  
                  &lt;button ng-controller="ModalCtrl" type="button" class="btn btn-default" ng-click="open('lg')"&gt;
                      {{ site.ClientName }}
                  &lt;/button&gt;
  
                  &lt;br /&gt;
                  &lt;b&gt;Facilities:&lt;/b&gt;
  
                  No Data Yet
  
              &lt;/td&gt;
  
              &lt;td&gt;{{ site.Subdomain }}&lt;/td&gt;
  
              &lt;td&gt;
                  &lt;a href={{ site.URL}}&gt; {{ site.URL}} &lt;/a&gt;
  
                  &lt;br /&gt;
  
                  &lt;b&gt;Go-live Date: &lt;/b&gt; No Data Yet
  
              &lt;/td&gt;
  
              &lt;td&gt;No Data Yet&lt;/td&gt;
              &lt;td&gt;{{site.ChannelPartner}}&lt;/td&gt;
              &lt;td&gt;No Data Yet&lt;/td&gt;
              &lt;td&gt;No Data Yet&lt;/td&gt;
              &lt;td&gt;No Data Yet&lt;/td&gt;
              &lt;td&gt;No Data Yet&lt;/td&gt;
          &lt;/tr&gt;
          &lt;div &gt;
              &lt;uib-pagination class="pull-right" boundary-link-numbers="true" max-size="maxPaginationSite" boundary-links="true" total-items="resultCount" ng-model="page" ng-change="pageChanged()"&gt;&lt;/uib-pagination&gt;
          &lt;/div&gt;
      &lt;/tbody&gt;
  </code></pre>