Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change indexVM.page in controlle #110

Open
RoederBernd opened this issue May 12, 2017 · 1 comment
Open

change indexVM.page in controlle #110

RoederBernd opened this issue May 12, 2017 · 1 comment

Comments

@RoederBernd
Copy link

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

@annelhote
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants