What is the use of ng-template in Angular 8?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please Disable the AdBlocker to Continue to the site.
ng-template is a template element in Angular 8 that is used to define reusable templates. It can be used with structural directives such as ngIf, ngFor, and ngSwitch to define conditional and repeating content.