I have this codepen, and using the function '$scope.pageChanged'
to see when a page is changed.
$scope.pageChanged = function() {
$log.log('Page changed to: ' + $scope.currentPage);
};
But when I click on page links (changing a page), the variable '$scope.currentPage'
doesn't changes. Why?
I think is something about the filter
, but not sure.