In my Angular app, I have multiple pages that allow users to make changes such as opening tabs and pills, modals, etc. For instance, if a user opens a modal and then clicks a link within that modal that takes them to another page, I want the original page to be displayed when they navigate back in their browser history. This means keeping the modal open instead of resetting the page.
I am currently using ui-router with Angular 1.4.3.
Although I have explored resources like:
- https://github.com/angular-ui/ui-router/issues/63
- https://github.com/angular-ui/ui-router/issues/562
...they do not fully address my specific need. I am uncertain about how to search for a solution to this issue effectively.
Another scenario is when a user enters a query in a search bar, clicks on a result that leads to a new page, and upon returning, they have to re-enter the search term. This can be frustrating for users.