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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -