Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for bypassing for some routes #40

Closed
manikantag opened this issue Sep 13, 2014 · 3 comments
Closed

Support for bypassing for some routes #40

manikantag opened this issue Sep 13, 2014 · 3 comments

Comments

@manikantag
Copy link

Hi, nice directive. It would be more useful if we can specify some routes (via regex ?) for which the loading indicator should not come.

Thanks.

@cgross
Copy link
Owner

cgross commented Sep 13, 2014

Angular-busy doesn't automatically do anything for routes.

@manikantag
Copy link
Author

I actually meant URLs - shouldn't have used 'routes' word :)

There will be times where we want not to show the throbber/loader - example: in my case, when some templates are bundled in a single file and when some directive using an already fetched template, AngularJS will still make a call, but of course will be fetched from cache. I m using slightly modified version of https://gist.github.com/vojtajina/3354046

@cgross
Copy link
Owner

cgross commented Sep 13, 2014

Angular-busy only deals with promises. Not urls or routes or anything. If you have some code that used angular-busy to track promised used in loading resources then that's under your control.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants