Back button throw document expired on AngularJS

I have a submit button with post method on it. After submitting, I do find an issue in which when I tried to go back (by hitting browser’s back button) it threw a “document expired”. Hitting “try again” or F5 will fix this but I want to avoid this attempt.
I saw some of the solution provided but they are for php and so far has not found one for AngularJS.

Any workaround with this?

Source: AngularJS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.