What is the use of ng-container 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-container is a container element in Angular 8 that is used to group elements together. It does not generate any HTML output of its own but is used to apply structural directives such as ngIf, ngFor, and ngSwitch.