[AngularJS] Re: AngularJS app cleanup

2016-01-01 Thread zenn . neess
Thanks for idea. How can I do that? Which properties of event should I look for? I should cover the following: - Browser close - Tab close - f5 - ctrl+f5 - refresh button click - ctrl+w On Thursday, December 31, 2015 at 9:44:03 PM UTC+1, Robert Ferentz wrote: > > No direct way to do it. Javascri

[AngularJS] AngularJS app cleanup

2015-12-31 Thread zenn . neess
Hello, All the best in New Year!!! What is best practice to cleanup AngularJS app. What I need is to delete specific cookies, and specific data from local storage when user closes the tab or browser. But those cookies and local storage data should not be deleted on page reload. Regards, Z