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

How use async in Angular #1065

Closed
jairoGilC opened this issue Mar 15, 2016 · 3 comments
Closed

How use async in Angular #1065

jairoGilC opened this issue Mar 15, 2016 · 3 comments
Labels

Comments

@jairoGilC
Copy link

Hi I want use this library in Angular but I'm not sure if it's possible because I can find Angular dependency to inject

@aearly
Copy link
Collaborator

aearly commented Mar 17, 2016

How are you loading other libraries in your project?

Async is available on npm, bower, as a standalone script, and many other package managers.

@skeet
Copy link

skeet commented Mar 21, 2016

@jairoGilC If you include the Async library it will be available on the $window object:

$window.async.each(things, function(thing, callback) {
   // Do stuff
   callback();
}, function(err) {
   // Do more stuff
});

@aearly
Copy link
Collaborator

aearly commented Mar 21, 2016

This seems to be more of an Angular question than an Async question.

@aearly aearly closed this as completed Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants