android - Preventing user to return to page if save changes -


i have phonegap + angularjs app running. app have page flow:

login > main page list > second page other list > item details

in details page, user has hability save record. if saves record, page cannot accessed again when instance presses android button.

inside save method i'm using redirect him second list again:

$location.path('/notifications/' + $scope.placeid); 

i tried using replace() after , before redirecting doesn't work. way made work calling replace() before going details list. problem if presses button redirects 1st list. weird


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -