MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angularjs/comments/4kzf2q/some_complaints_about_angular2angularcli/d3jopjp/?context=3
r/angularjs • u/DerNalia • May 25 '16
29 comments sorted by
View all comments
18
Typescript
You don't have to use Typescript.
no recommended project structure
https://angular.io/styleguide
no default templating language
How about HTML? I would be extremely unhappy if the forced something like Jade on me by default.
6 u/gonzofish May 25 '16 Also, why does everyone think they have to inline their templates? You can do templateUrl... 3 u/eguanlao May 25 '16 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.
6
Also, why does everyone think they have to inline their templates? You can do templateUrl...
3 u/eguanlao May 25 '16 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.
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.
18
u/brokentyro May 25 '16
You don't have to use Typescript.
https://angular.io/styleguide
How about HTML? I would be extremely unhappy if the forced something like Jade on me by default.