Hi Vincent,

I've seen bundling-solutions that inline the template in the component by 
transforming templateUrl to template.

Wishes,
Manfred



Am Donnerstag, 31. Dezember 2015 09:28:55 UTC+1 schrieb Vincent Zhu:
>
> I wonder how you guys organize the templates when we don't use inline 
> template in angular2.
> Using templateUrl will load the file one by one, which is not good way to 
> go in production, can we embed the templates into one file and load it?
> I used to do it in angular1 by $templateCache and $compile.
>
> since we are using angular2 now, what's the way to go?
>
> thanks for any ideas!
>

-- 
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.

Reply via email to