SockIO socket management service for angular js