In the custom structure directive example at following link, what does TemplateRef and ViewContainerRef point to?
https://angular.io/guide/structural-directives#unless
A Directive usually doesn't have a view. So would templateRef point to the HTML tag or Component the directive is attached to? Eg In the following code, the template is everything between <p> ...</p>? I read that * gets converted to <ng-template> so it could be the case.
<p *myUnless="condition">Show this sentence unless the condition is true.</p>
What is ViewContainerRef in the example? Generally I would add a <ng-container> as view container? Where does it come from in the example?