We have a SPA running on angular and we need to generate an event whenever a page has completed rendering after all of its ajax calls.
Any ideas that will prevent us from doing it on each page ?
Gil.
We have a SPA running on angular and we need to generate an event whenever a page has completed rendering after all of its ajax calls.
Any ideas that will prevent us from doing it on each page ?
Gil.
Maybe create a service that will get signaled two times.
when the 1st request begins and
when the last response is collected (implemented via promises).
Then maybe you can broadcast a message that can be heard from the controllers, so they can start the rendering.
Well, not an expert here, so don't judge me too hard!