Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cg-busy with an Http Interceptor #115

Open
christoforosl opened this issue Sep 3, 2017 · 0 comments
Open

cg-busy with an Http Interceptor #115

christoforosl opened this issue Sep 3, 2017 · 0 comments

Comments

@christoforosl
Copy link

christoforosl commented Sep 3, 2017

The idea is to eliminate the need for a programmer to manually set cg busy promises. Instead, have an http request interceptor push each http request promise to a cg busy tracked array. In theory, cg busy will show, and hide once all promises are fulfilled. However this does not work, cg busy will not show, and here is the plunker:

http://embed.plnkr.co/PdM1mghUTUMYmUatj9Fu/

Just click on the bottom button "Submit Http Requests", you will see that cg busy does not show.
The first 2 buttons show cg busy but do not involve the http interceptor

Maybe I am going about this the wrong way, but it should work shouldn't it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant