I want to receive streaming data from flask application in angularjs. Previously, I was making hundreds of $http calls from browser, and was appending their responses to a single variable in angularjs which was updating the HTML automatically every time it received a response from one of those AJAX calls. Now I want to move all that logic to backend, thus want to have a single HTTP call which will receive streaming data from flask application, and it is expected that HTML will be updated every time a streaming response is received at front end. How can I achieve that?
BTW, I leaned how to stream data from flask application to front end. But I want to know how should I receive it in angularjs.