title: NG-Repeat won't update when array is changed
body: <p>I have a table created using AngularJs</p>
  
  <pre><code>&lt;tr class="restTable" data-ng-repeat="tag in tags|orderBy: 'number'"&gt;
  </code></pre>
  
  <p>I use a filter (<code>&lt;select&gt;</code> tag). And the following function on it's change:</p>
  
  <pre><code>$scope.showTypeChange=function(){
          console.log($scope.showType);
          if($scope.showType==3){//all
              console.log($scope.tags);
              $scope.tags=tags;
              console.log($scope.tags);
          }
          tagsShow=[] 
          $scope.tags=tagsShow;//reset array
          var j=0;
          for (var i = 0; i &lt; tags.length; i++) {
              if(tags[i].type==$scope.showType){
                 tagsShow[j]=tags[i];
                 j++;
              }
          }
      }
  </code></pre>
  
  <p>The problem is if I use <code>showType==3</code> it doesn't show anything , even though on console <code>$scope.tags</code> result to be updated. In other cases everything works perfectly.</p>
  
  <p>What do I miss?</p>