Do not expose gotoPage, just set scope.page