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

Find better js script tag placement #95

Open
Wmaxlees opened this issue Jun 24, 2015 · 2 comments
Open

Find better js script tag placement #95

Wmaxlees opened this issue Jun 24, 2015 · 2 comments

Comments

@Wmaxlees
Copy link
Member

As a developer, I would like a better way to include my ng-controller script than to include a new script() line in the layout.jade file.

@Wmaxlees Wmaxlees changed the title NG Framework - 001 Find better js script tag placement Jul 6, 2015
@Wmaxlees
Copy link
Member Author

Wmaxlees commented Jul 8, 2015

Maybe automation is the solution? https://medium.com/@kentcdodds/angularjs-script-loading-108652bde20e

@robfitzgerald
Copy link
Contributor

that looks like a solution for a much larger scale application than ours. the code to dynamically search and build the script tags might just end up being the same number of lines as the static solution.
but, again, since this is our playground to try things, i'm down, if you want to try it. webpack (https://github.com/webpack/webpack) is mentioned in that article, and it seems pretty well supported.

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

No branches or pull requests

2 participants