title: How to get/check only Visible Rows of a Table in Angular
body: <p>How can I get only the Visbile Rows in a Table after a Few Filters?<br>
  I have Table with Pagination and can do some Filter on it.<br>
  I want to select only the Visible ones with SelectAll Checkbox.<br>
  At first I had only one Filter and just Iterated the Result of this Filter.</p>
  
  <pre><code>  selectAllChange() {
          if (this.$scope.AllChange) {
            this.$scope.AllChange = true;
            this.$scope.count = this.langV.length;
          } else {
            this.$scope.AllChange = false;
            this.$scope.count = 0;
          }// get whether to set true/false
          var filtered = this.filter(this.langV, {
            Name: this.$scope.searchK,
          });// filter after Search
          angular.forEach(filtered, (item) =&gt; {
            item.Selected = this.$scope.AllChange;
            this.change(item);
          });//set all true/false
        }
  </code></pre>
  
  <p>Now as more Filters are coming a more suitable Solution like SelectAll "Visbile/Shown/Filtered" rows would be appreciated.  </p>
  
  <pre><code>selectAllChange() {
         ...
  //somehow all shown Rows over all pages after filtered
          angular.forEach(visibleRows, (item) =&gt; {
            item.Selected = this.$scope.AllChange;
            this.change(item);
          });
        }
  </code></pre>
  
  <p>I tried with alias the Table as <code>results</code>  </p>
  
  <pre><code>    &lt;tr dir-paginate="v in $ctrl.langV | filter:{Name:searchK,value1:searchV}| filterByProd:selectedProduct|orderBy: sortType:sortReverse|itemsPerPage:10 as results"&gt;  
  ...  
      {{results}}
  </code></pre>
  
  <p>But it is giving me only the Rows of the actual Page and not whole Table.<br>
  Is there an easy way to get all Rows after they are filtered?
  Or have I somehow to combine my CustomeFilter -> <code>| filterByProd:selectedProduct</code> with the implemented AngularFilters  <code>|filter:{Name:searchK,value1:searchV}</code> and in there return an Array with Filtered objects to Select?</p>