Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
sakopov
on Sept 15, 2016
|
parent
|
context
|
favorite
| on:
Angular 2 Final Released
Why would you want HTML embedded into your component? Sounds like a maintenance nightmare.
thesimon
on Sept 15, 2016
[–]
So better embed the logic into the HTML? :)
sakopov
on Sept 16, 2016
|
parent
[–]
Not sure what you mean. I was just implying that it's better to use a separate HTML file for the template and reference it from the component.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: