The structure directive is just a sugar syntax of <template>.
Such as:
<div *ngIf="name.length > 2"> This is something... </div>
Equal to:
<template [ngIf]="name.length > 2"> <div> There are somoething</div> </template>
The structure directive is just a sugar syntax of <template>.
Such as:
<div *ngIf="name.length > 2"> This is something... </div>
Equal to:
<template [ngIf]="name.length > 2"> <div> There are somoething</div> </template>