I want to create a directive that can hide a host-element when a certain 
value is bound to the directive but I can't seem to use ngIf as a 
HostBinding-value.

atm I'm using 

@HostBinding('hidden') hide: boolean = true;

But hidden is of course not the same as ngIf.

How would I go about this?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to