service call twice
- Vorherrschende Sprache
- JavaScript
- Sterne
- 11.3k
- Forks
- 3k
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Hi
I have created one service which i am injecting into controller and consuming, i am accepting that may be that service will take some time and for that reason i want to to show preloaded busy indicator. for that purpose i am injecting rootscope into controller and using this model $rootScope.$pageFinishedLoading = false; and after completion of my service I am making true.
what i am noticing that its make my service call twice i am annoyed why so, then i noticed this piece of code has to do something with this
i am not sure its bug but is my goal to use that pre loader busy indicator i am making any service call, can you help me how to do that.
Thanks
Viv
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.