My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How to implement updates from server for a page like dashboard using AngularJS 1.x?

Bala Sivagnanam's photo
Bala Sivagnanam
·Aug 4, 2016

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.

  • Backend - Java REST API -> server
  • Front end - Angularjs1.x -> browser - admin/dashboard
  • mobile app - android,ios -> app - user apps