I am trying to apply custom directive based on some condition in angular reactive form.But I have not find any way to implement this feature. Structural directive is not working in node projection.
<input
type="text"
*customDirective="data"
// directive1 /directive2
// I have to apply above directive based on some condition
/>