I am trying to add more rows to a table by changing the limitTo
value:
<button ng-click="showMoreQueues()">Show More </button>
The function to match it :
$showMoreQueues = function(){
$queueRowLimit += 20;
}
And my table body
:
<tbody ng-repeat="rule in ruleList | limitTo :'queueRowLimit' ">
//table data....
</tbody>
The limitTo
works fine but it is not adding more rows to the table.