I would like to know the best practices for implementing an SPA application with Angular using WebSocket.