-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get a comment in the template #15143
Comments
Give advice on how best to get rid of comment? |
@teabagp for example like this http://plnkr.co/edit/FANAd3wPtqrKoTdxG2c5?p=preview but you should really avoid direct dom manipulations. why do you need a component with an empty template? maybe directive would be better? |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I'm submitting a ... (check one with "x")
Current behavior
When i use empty template, i get a comment in component (this ).
This behavior occurred after the update to 4.0.0-rc.1
Expected behavior
In 4.0.0-beta.8 I get empty component
Minimal reproduction of the problem with instructions
angular 4.0.0-rc.1
http://plnkr.co/edit/C4uCLuL5pQqsH8ToR5yS?p=preview
angular 4.0.0-beta.8
http://plnkr.co/edit/8TnxGwzojU2Z026RcaHD?p=preview
The text was updated successfully, but these errors were encountered: