Recently, I've been working on this codepen project. In it, I'm utilizing the function '$scope.pageChanged'
to monitor page changes.
$scope.pageChanged = function() {
$log.log('Page changed to: ' + $scope.currentPage);
};
However, I've encountered an issue where clicking on page links to change the page doesn't update the variable '$scope.currentPage'
. Why is that?
My initial thought was that it might have something to do with the filter
, but I'm not entirely certain.