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.ionpm install angularnpm install ng-server-time
Ensure you have an angular socket.io factory such as this one, it is required by the server time factory:
Initilaize the socket on the server:
var server_time = ;iosockets;