You need to describe the problem you encountered in detail Under normal circumstances, clicking the browser's back button will return to the previous page
When you switch navigation, the url has changed. If you click the back button, you will return to the previous url and naturally return to the previous page. The controller has been destroyed when switching, and will be reloaded and requested again when switching back.
history back?
Return to the previous page in angularJS
Thanks for the invitation
You need to describe the problem you encountered in detail
Under normal circumstances, clicking the browser's back button will return to the previous page
Provides this function itself
When you switch navigation, the url has changed. If you click the back button, you will return to the previous url and naturally return to the previous page. The controller has been destroyed when switching, and will be reloaded and requested again when switching back.