add socket services to $rootScope