| AngularJS | Angular | Notes |
|---|---|---|
| ui-sref | [routerLink] | |
| ng-if | *ngIf | |
| ng-show | *ngIf | It might make more sense to use *ngClass{hidden: condition}) |
| ng-hide | *ngIf | It might make more sense to use *ngClass{hidden: condition}) |
| ng-repeat | *ngFor | Requires additional syntax changes, see below. |
| ng-model | [(ngModel)] | |
| ng-class | ngClass | |
| ng-click | (click) | |
| ng-change | (change) | |
| ng-disabled | [disabled] | |
| ng-pattern | pattern | |
| ng-maxlength | maxlength |
Created
June 16, 2021 20:18
-
-
Save walkingriver/8f2da9d7f25adfca1f294e916f9445aa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment