title: Angular 2 - apply ngIf on host element using @HostBinding
body: <p>I'm trying to set ngIf on the host element using @HostBinding decorator. </p>
  
  <pre><code>class ListItem {
      @HostBinding('ngIf') active: boolean = false;
  }
  </code></pre>
  
  <p>And I'm getting the error: Can't bind to 'ngIf' since it isn't a known property of 'list-item'.</p>
  
  <p>However I see an answer <a href="https://stackoverflow.com/a/38691703/1267778">here</a> which seems to be suggesting this usage.</p>