Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

I dont want loading bar for only one particular http hit (out of many)  #339

Open

Description

@sanjayiyer242

What version of angular-loading-bar are you using?
v0.9.0
What version of AngularJS are you using?
1.5.7
What browsers are affected?
NA
Please provide either a JSFiddle, Plunkr example that replicates the issue

Please describe the issue
I have many http hits. In that i dont want loading bar for one particular hit.
For example I have 6 http hits. In that i dont want loading bar for 4th http hit.
What did you expect to happen?
Loading bar should never display for only one particular http hit(out of many)
What actually happened?
It is displaying Loading bar for all http hits

Activity

  1. otterslide commented on Sep 12, 2017

    @otterslide

    // ignore a particular $http GET:
    $http.get('/status', {
    ignoreLoadingBar: true
    });

  2. NicolasGeraud commented on Jan 16, 2018

    @NicolasGeraud

    Hi,

    in typescript it can be done like that :

    const config = { ignoreLoadingBar: true } as ng.IRequestShortcutConfig;
    return this.$http.get("/url", config); 
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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