How To Push Live Data From Nodejs Server To Angularjs?
I have successfully opened a websocket connection in server to an external API to get exchange ticker data but not sure how to continuously push the data to client / AngularJS. He
Solution 1:
you need to push data from the server periodically.
to get these "live updates" on the client side, a plain ajax call is not enough, you need a realtime communication.
You should use websoket even here, with socket.io and angular socket.io for example you can handle this communication easily
Post a Comment for "How To Push Live Data From Nodejs Server To Angularjs?"