ElasticUI icon indicating copy to clipboard operation
ElasticUI copied to clipboard

change indexVM.page in controlle

Open RoederBernd opened this issue 8 years ago • 1 comments

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

RoederBernd avatar May 12 '17 06:05 RoederBernd

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.

annelhote avatar Dec 14 '17 17:12 annelhote