Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

What id the public API alternative to $browser.notifyWhenNoOutstandingRequests ? #13310

Closed
@kburson

Description

@kburson

I have rooted around forums and seen a lot of talk about $browser and notifyWhenNoOutstandingRequests to satisfy a common need to know when angular has finished all compile and digest cycles. The ruling is that $browser is not a public API and it's use is therefore not recommended.

My question is, what API or workaround is available that satisfies this need ?

I currently am using the notifyWhenNoOutstandingRequests to notify me when my app is finished loading and ready for user interaction, and it works great, but if this is a private method and not meant for public use, then I would surely like an alternate to fill the void.

Can you please direct me to some doc or discussion that satisfies this common request ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions