Open Wmaxlees opened 9 years ago
Maybe automation is the solution? https://medium.com/@kentcdodds/angularjs-script-loading-108652bde20e
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.
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.