added socket integration with angular