title: Multiple Conditions in ngIf in Angular 6
body: <p>I want to hide one div and want to show another for that I have written below code</p>
  
  <p><a href="https://stackblitz.com/edit/angular-9cuejm" rel="nofollow noreferrer">My Code</a></p>
  
  <p>My problem is I have used multiple conditions in ngIf but not working properly. Once I click on "Show sub content1" want to hide main content and want to show "Sub Content 1" and vise versa for all buttons. What should I do for this. Please help.</p>