How angularjs caches the entire controller

The main reason for

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

.
Nov.08,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36100-2b75f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36100-2b75f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?