2

I am trying to fetch data continuously from mongo database.

It needs refresh the page in order to get latest data.

My question, Is there any way to put angular service and component which will check & fetch data in real time?

Some of the way which i found in internet such as :

Call the service in setInterval after few seconds. or, Use of third party fireloop.

But really i don't want these strategy.

Could someone guide me how & where to proceed to achieve real time functionality ?

I am using anuglar v4 and mongodb v3.

Thanks.

uday214125
  • 569
  • 1
  • 8
  • 22

0 Answers0