Hi Vincent, I've also seen a bundling solution for angular 2. I think, it was part of some starter-kit for angular 2. Perhaps this is what you are searching for:
https://github.com/ludohenin/gulp-inline-ng2-template Another solution is to bundle templates into javascript-bundles. In this case, the template is put into a string-variable that can be loaded via require and passed to the template-property. This could be done via webpack. Here you find a starter-kit for angular 2 that shows how to do that: https://github.com/AngularClass/angular2-webpack-starter Wishes, Manfred Am Freitag, 1. Januar 2016 14:09:50 UTC+1 schrieb Vincent Zhu: > > Thanks, It seems these bundling tools are for angular1? -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
