is that when the page is switched, it will not be re-rendered and the window that was opened before will be displayed.
tried to use directive to save the dom where the current controller is located and render it back when you switch pages.
however, when switching, the last controller still triggers the destroy event of $scope, and the two-way binding fails