AngularJS WebSocket Service with NodeJS Backend