How to remove detached node of html which is created by combination of jquery and angular. So when there is a route navigation cache is created which is having detached nodes containing angular scopes and html templates which is leading to memory leaks. Is there any way to stop this caching ?
Or clearing entire cache created safely to avoid memory leaks. I am working on big angular SPA app which is having a big leaks which crashes the app after reaching 1000+ MBs.