Skip to content

Commit d0b5274

Browse files
author
TheHalcyonSavant
committed
tables should be populated onload
tables are empty on page load, because criteria and pageNo are undefined
1 parent 5520b73 commit d0b5274

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1820EN_04_Code/08 -filters - array filters full example/arrayFilters.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ angular.module('arrayFilters', [])
5353
}
5454
});
5555

56-
$scope.criteria = '';
57-
$scope.pageNo = 0;
56+
$scope.criteria = '';
57+
$scope.pageNo = 0;
5858

5959
$scope.setActivePage = function (pageNo) {
6060
if (pageNo >=0 && pageNo < $scope.pages.length) {

0 commit comments

Comments
 (0)