Can I load a template conditionally in an Angular 2 component?
<p>I would like to load a certain template based on a condition. The value of the condition is retrieved via an <code>@Input()</code>. How do I choose the value for the <code>templateUrl</code> key in the annotation based on this value?</p>