Skip to content

cg-busy with an Http Interceptor #115

@christoforosl

Description

@christoforosl

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions