Open RoederBernd opened 7 years ago
hello,
is it possible to change the indexVM.page within the controller? I would like to jump to a certain page using the route. Is that possible?
Any help is appreciated Bernd
You should first find the $scope of indexVM and then : $scope.$parent.indexVM.page = NUMBER_OF_YOUR_PAGE; According to your message, you should use $routeParams to guess NUMBER_OF_YOUR_PAGE.
$scope.$parent.indexVM.page = NUMBER_OF_YOUR_PAGE;
hello,
is it possible to change the indexVM.page within the controller? I would like to jump to a certain page using the route. Is that possible?
Any help is appreciated Bernd