Skip to content Skip to sidebar Skip to footer

Angular Browser History Back Without Reload Previous Page

i have a AngularJS app with list of items and the detail of the item. If I do some changes in detail and I want to return to list , list is already created again via remote request

Solution 1:

The recommended approach here is to use services to provide the data so that you can serve up the same data when you return to the controller.

Your service should maintain the state of the previous view so that you can re-populate the scope when the controller is re-instantiated.

Post a Comment for "Angular Browser History Back Without Reload Previous Page"