Customize angular-socket service.