MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angularjs/comments/4kzf2q/some_complaints_about_angular2angularcli/d3ln68d/?context=3
r/angularjs • u/DerNalia • May 25 '16
29 comments sorted by
View all comments
Show parent comments
3
TemplateUrls make another call to the server, right?
1 u/gonzofish May 26 '16 The way I use it the templates are part of my js file. 1 u/[deleted] May 27 '16 What url do you provide to templateUrl if the template is in the same file? 1 u/gonzofish May 27 '16 What I mean is that when I package my app the template gets inlined. 1 u/[deleted] May 27 '16 So you don't use templateUrl after all? 1 u/gonzofish May 27 '16 No but I'm using webpack to keep my templates external.
1
The way I use it the templates are part of my js file.
1 u/[deleted] May 27 '16 What url do you provide to templateUrl if the template is in the same file? 1 u/gonzofish May 27 '16 What I mean is that when I package my app the template gets inlined. 1 u/[deleted] May 27 '16 So you don't use templateUrl after all? 1 u/gonzofish May 27 '16 No but I'm using webpack to keep my templates external.
What url do you provide to templateUrl if the template is in the same file?
1 u/gonzofish May 27 '16 What I mean is that when I package my app the template gets inlined. 1 u/[deleted] May 27 '16 So you don't use templateUrl after all? 1 u/gonzofish May 27 '16 No but I'm using webpack to keep my templates external.
What I mean is that when I package my app the template gets inlined.
1 u/[deleted] May 27 '16 So you don't use templateUrl after all? 1 u/gonzofish May 27 '16 No but I'm using webpack to keep my templates external.
So you don't use templateUrl after all?
1 u/gonzofish May 27 '16 No but I'm using webpack to keep my templates external.
No but I'm using webpack to keep my templates external.
3
u/eguanlao May 25 '16
TemplateUrls make another call to the server, right?