Skip to content

Add default to use when running wiredep tasks #2

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

Closed
iamdash opened this issue Apr 18, 2015 · 1 comment
Closed

Add default to use when running wiredep tasks #2

iamdash opened this issue Apr 18, 2015 · 1 comment

Comments

@iamdash
Copy link

iamdash commented Apr 18, 2015

Great component, but how are we able to add the app attribute to the script tag when running wiredep tasks? I have made some updates and would like to make a pull request using app as the default.

@hansl
Copy link
Owner

hansl commented Apr 18, 2015

You can set noinit to true in the tag itself, and then use angular.loader.init({}) to initialize the component from JavaScript. That's basically how I do it for tests.

I'm always open to pull requests too, so go ahead and I'll review :)

@hansl hansl closed this as completed Dec 9, 2016
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