I am working on a single page app, I want to call an api using the web worker in the background and store the data in the service so that the data is available in another page, I know the second part of storing the data. As the api is bit time taking i don't want the performance of the page to be affected so i guess web worker comes handy here
So as you see the directory, I want the code under "rules and alerts" controller then from there i want to set the data in service. I am not sure if my approach is correct, Suggest me!
Aucun commentaire:
Enregistrer un commentaire