Skip to content

Instantly share code, notes, and snippets.

@walkingriver
Created June 16, 2021 20:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save walkingriver/8f2da9d7f25adfca1f294e916f9445aa to your computer and use it in GitHub Desktop.
Save walkingriver/8f2da9d7f25adfca1f294e916f9445aa to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment