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 AngularJS templates to JavaScript in Maven Plugin #157

Open
arux opened this issue Oct 28, 2013 · 5 comments
Open

Support AngularJS templates to JavaScript in Maven Plugin #157

arux opened this issue Oct 28, 2013 · 5 comments

Comments

@arux
Copy link

arux commented Oct 28, 2013

Like grunt-html2js

http://docs.angularjs.org/api/ng.$templateCache

@alexo
Copy link
Owner

alexo commented Oct 29, 2013

Can you point to any library (be it js or java or anything else) which performs the AngularJS processing? The transformation itself seems like requires a separate project. I would rather reuse one to add support for this feature, than implement one from scratch (don't have time to do it myself).

@m4r71n
Copy link

m4r71n commented Jan 20, 2014

@arux
Copy link
Author

arux commented Jan 22, 2014

These 2 classes converts the templates to JavaScript

https://gist.github.com/arux/8568261

Java 7 is required.

@alexo
Copy link
Owner

alexo commented Jan 23, 2014

Thanks for sharing this.

@priand
Copy link

priand commented Oct 28, 2016

This is a very interesting extension - is there a plan to get it integrated a an ready to use extension module? Would be great if we can specify how to find the templates, rather than hard coded *.tpl.html pattern.

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

4 participants