I am currently working on an AngularJS application with Spring REST as the backend. My experience with AngularJS is quite new.
Within my UI page, I have a table displaying a list of objects with an edit button for each record. Clicking the edit button opens another page that displays and updates the data accordingly.
The issue arises when I refresh the browser while on the edit page, causing me to lose my data. One solution could be to make another REST call, but I would prefer to avoid this option if possible.
Is there a way to retain the data on the page after refreshing, or do you think making a REST call is the better solution?