Synchronizes local browser time with server time using clock synchronization algorithm, similar to NTP.
Ensure angular, socket.io and ng-server-time are installed correctly
npm install socket.io npm install angular npm install ng-server-time
Ensure you have an angular socket.io factory such as this one, it is required by the server time factory:app;
Initilaize the socket on the server:var server_time = ;iosockets;