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
Post a Comment