Detect whether a browser, a tab close event has been occured?
How to detect whether a browser has been closed, a tab has been closed? Are there any events available to handle each one of the above cases in Angular/Javascript. Any information or sample code will be helpful and appreciated. Thanks!