title: How to hide link in Angular5/HTML when a certain condition is fulfilled
body: <p>I am working in Angular5/html. I am kind of stuck at one point.</p>
  
  <p>I have a page where i can add different accounts. I have a link to remove those accounts. Now i want that link to show only when there is more than 1 account added. For only 1 account added i don`t want my account remove link to be shown. </p>
  
  <p>How will i incorporate this condition in my code below? I mean if i use ngif but what will i do in response to ngif to hide the account removal link? </p>
  
  <p>Also for condition in ngif can i specify it here in html (something like that that count is 1 or i is 0 as count is here to tell the number of account) or do i need to write function for it in my ts file. </p>
  
  <pre><code>&lt;li *ngFor="let ac of Accounts; let i = index;"&gt;
    &lt;div class="header"&gt;
      &lt;h2&gt;{{'account.title' | translate : { count: i + 1 } }}&lt;/h2&gt;
      &lt;a [routerLink]="" (click)="removeAccount(i)"&gt;{{'account.remove' | translate}}&lt;/a&gt;
    &lt;/div&gt;
    &lt;account [data]="ac" [id]="i"&gt;&lt;account&gt;
  &lt;/li&gt;
  </code></pre>