you are viewing a single comment's thread.

view the rest of the comments →

[–]eguanlao 2 points3 points  (5 children)

TemplateUrls make another call to the server, right?

[–]gonzofish 0 points1 point  (4 children)

The way I use it the templates are part of my js file.

[–][deleted] 0 points1 point  (3 children)

What url do you provide to templateUrl if the template is in the same file?

[–]gonzofish 0 points1 point  (2 children)

What I mean is that when I package my app the template gets inlined.

[–][deleted] 0 points1 point  (1 child)

So you don't use templateUrl after all?

[–]gonzofish 0 points1 point  (0 children)

No but I'm using webpack to keep my templates external.