Answer the question
In order to leave comments, you need to log in
Why is the block not displayed after the directive?
JSFiddle Link
There is a hello-world directive followed by a div block.
What is the difference between these two syntaxes ?
Why is the block after the directive not displayed in the first case, and is displayed in the second case?
<hello-world />
<div>Test</div>
<hello-world></hello-world>
<div>Test</div>
Answer the question
In order to leave comments, you need to log in
Features of Angular. They decided not to support such parsing.
https://github.com/angular/angular/issues/673
https://github.com/angular/angular/issues/25082
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question