Reputation: 1589
So I want to make a short $timeout
in my code, and while that $timeout is active I want to run this bit of code:
pbInterval = $interval(progressBar("delay"), 100);
I don't necessarily need to use $timeout
, something else would be fine too. I just want a short delay and run my particular code.
Upvotes: 0
Views: 44