🔁 A schematic to convert *ngIf
and *ngFor
to the new Angular control flow syntax (@if
, @for
).
npm install @schemcraft/control-flow
npx schematics @schemcraft/control-flow:control-flow-replace
This will update all .html
files in your Angular project.
Supports *ngIf
, *ngFor
, and *ngIf with else
.
MIT © Maruthupandian M