I want my back button text (in Angular component) according to previous URL.
I have seen How to determine previous page URL in Angular? but what if the user refreshes the page? The previous URL info from router events is lost. Any work around except storing it in the local storage?