While working on my application that uses AngularJS with Websocket, I encountered a specific issue. The WebSocket communication with the server works fine as users navigate through different pages in Angular. However, when a user decides to refresh the page, the WebSocket connection is lost. I am seeking advice on the best way to handle this situation. Should I display an alert whenever a user attempts to refresh the page? Is there a way to detect when the WebSocket connection is closed during a page refresh and automatically establish a new one? I would appreciate any guidance on the best practices for addressing this issue. Thank you.