Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ignore loading bar not working

See original GitHub issue


I am trying to use ignoreLoadingbar in one of my GET requests but with no luck. The request is defined as:

factory(‘Maps’, [‘$resource’, ‘API_END_POINT’, function($resource,API_END_POINT){ return $resource(API_END_POINT + ‘api/maps’, {}, { query: { method: ‘GET’, isArray: false, ignoreLoadingBar: true } }); }])

and in the controller:

Maps.get( function(result){


Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

chieffancypantscommented, Jan 5, 2015

Hi all – make sure you’re setting up your $resource properly. In the case of @bampakoa, he was not paying attention to the action names. Look closely, and you’ll see the plunker calling Maps.get() but defined it as query in the resource. Match these names up, and it works fine.

leeDavcommented, Dec 19, 2014

I’m also having the same issue.

As far as I can tell, a console.log of the config object (passed to the return objects request() method) doesn’t register that ignoreLoadingBar even exists, nevermind is set. As in;

      return {
        'request': function(config) {
console.log(config);  // has no "ignoreLoadingBar" property
console.log(config.ignoreLoadingBar); // is undefined
          // Check to make sure this request hasn't already been cached and that
          // the requester didn't explicitly ask us to ignore this request:
          if (!config.ignoreLoadingBar && !isCached(config)) {
Read more comments on GitHub >

github_iconTop Results From Across the Web

angular-loading-bar not working unless explicit call for start()
I try to use angular-loading-bar in a simple example: app.js (function(){ angular.module('RoutedApp',['ngRoute','angular-loading-bar', ...
Read more >
Remove Loading Bar (Front End) | Not Helpful -
Your plugin displays a “loading” or “progress” bar in the front end when comments are loaded on affected website pages (click here). This...
Read more >
Loading - Nuxt
If you do not see the loading bar when you move between routes, the time to load the page is short enough for...
Read more >
How To Disable The Loading Bar | Bubble Tutorial
This quick tips shows you how to completely hide the Bubble loading bar on a page in 2 easy steps to regain control...
Read more >
ProgressBar - Android Developers
Use indeterminate mode for the progress bar when you do not know how long an ... to ONLY indeterminate mode (state-keeping progress mode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found