I have a web application with a search page that loads information from the backend. When the user searches for something specific, the relevant data appear. However, when the user reloads the page, the search results are deleted. Also, if the user click on a specific search results, a new page loads a more detailed view about this search. When you click the back button of the browser, the search results are lost again. How do I save the search results when the page is refreshed, or when the user wants to go back to search results?
I would appreciate an AngularJS based solution, since this is the framework I am using. Thanks!