×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Nilesh Yadav
Added: Dec 30, 2017 10:13 AM
Views: 2
Tags: no tags
  1. <div *ngIf="isValid;else other_content">
  2.     content here ...
  3. </div>
  4.  
  5. <ng-template #other_content>other content here...</ng-template>