What's the point? It'll [always use ioSocke](https://github.com/emil10001/angular-socket-io/blob/31fb05da9eae5a1d16553dc73e0ca6e9b0ae16ba/socket.js#L19). Perhaps remove the ioSocket|| condition.