r/angularjs • • May 25 '16

Some complaints about angular2/angular-cli

https://gist.github.com/NullVoxPopuli/82ee489121fcc21a0e80aaf88559dada
9 Upvotes

29 comments sorted by

View all comments

Show parent comments

1

u/DecentOpinions May 25 '16

yeah, it really bothers me how most tutorials inline their templates. It's just a bad practice.

Not saying it's right, but isn't that kind of how React does it in its components? Haven't used it myself but I kind of like the look of it because since it keeps everything together.

1

u/gonzofish May 25 '16

If editors had better support for inline templates I think it'd be less of an issue for me. I'm just pointing out that using it as a gripe against angular doesn't hold water because there's an alternative.

1

u/Mael5trom May 26 '16

A number of editors already have good support for it (maybe via a plugin, some natively already).

1

u/ctanga May 26 '16

Yeah, Jetbrains IDEs have decent native support

https://gfycat.com/ImpureComfortableAmazonparrot