Patch reconnecting-websocket. Make it an angular provider.
Angularify the package.