angular-loading-bar
angular-loading-bar copied to clipboard
Updating progressBar from a callback
Hello, I am able to use this loading bar, but in some circumstance I wait for a call back. Is there anyway to include in your current implementation or have ideas about it?
Thanks
What version of angular-loading-bar are you using?
What version of AngularJS are you using? 1.3.8 What browsers are affected?
Please provide either a JSFiddle, Plunkr example that replicates the issue
Please describe the issue
What did you expect to happen?
What actually happened?
I don't know what you're asking for
There is some way to change current status.
Try to use cfpLoadingBar.set(n);.
0 <= n <= 1;
for example $interval(function(){ var status = cfpLoadingBar.status(); if(status > 0.9 && is_complete == false){ cfpLoadingBar.set(0.9); } });