I have a dashboard which shows some high level values like some counts.
During initial loading I fetch them from REST API using AngularJS1.5 http service. Later now when the value gets updated in the server from a different device I need to load the same updates to all devices which are open.
More like pushing to client from server.
Not sure how to implement this in my setup.
you can try firebase , It has a real-time database engine where your clients will get the updates from it.your server needs to push the data to that DB so that clients can listen to any Change in the database https://www.firebase.com/
You can use websockets and angular events. Fire a specific event when data is pushed from server, and update the entire dashboard or a specific component based on the event.
Sijawusz Pur Rahnama
dose my code & code my dose
I'd go for WebSockets or Server-sent Events if you have control over backend, or polling if you don't.