ng-afterContentChecked |
Lifecycle hook: Called after every check of the component's or directive's content |
ng-afterContentInit |
Lifecycle hook: Called after ngOnInit when the component's or directive's content has been initialized |
ng-afterViewChecked |
Lifecycle hook: Called after every check of the component's view. Applies to components only |
ng-afterViewInit |
Lifecycle hook: Called after ngAfterContentInit when the component's view has been initialized |
ng-binding-oneway |
Property: [property]="expression" |
ng-binding-twoway |
Two-way data binding with the NgModel |
ng-bootstraping |
Bootstraping example |
ng-button |
A button element with a click event |
ng-button-submit |
A submit button element with a click event |
ng-class |
CSS class |
ng-click |
Click event |
ng-conf |
The World's Original Angular Conference |
ng-controller |
Use component instead. |
ng-doCheck |
Lifecycle hook: Called every time that the input properties of a component or a directive are checked |
ng-event |
Event: (event) = "onEvent()" |
ng-filter |
For performance reasons, no comparable pipe exists in Angular 2. Do all your filtering in the component. If you need the same filtering code in several templates, consider building a custom pipe. |
ng-for |
For-loop directive |
ng-for-index |
For-loop directive with index |
ng-for-li |
For-loop directive with li element |
ng-for-trackBy |
For-loop directive with trackBy |
ng-hide |
Usage: Bind to the hidden property. |
ng-href |
Usage: Bind to the href property. |
ng-http-get |
Http observable get request |
ng-http-get-post |
Http observable get & post request |
ng-httpClient-get |
HttpClient observable get request |
ng-if |
If directive: *ngIf="expression" |
ng-if-else |
v4: If else directive: *ngIf="expression; else" |
ng-if-then-else |
v4: If then else directive: *ngIf="expression; then; else" |
ng-import |
import module or component from path; |
ng-input |
Class Input Property |
ng-interpolation |
Interpolation: {{ interpolation }} |
ng-ngOnChanges |
Lifecycle hook: Called before any other lifecycle hook |
ng-onDestroy |
Lifecycle hook: Called before the instance is destroyed |
ng-onInit |
Lifecycle hook: Called after the constructor |
ng-orderBy |
For performance reasons, no comparable pipe exists in Angular 2. Instead, use component code to order or sort results. If you need the same ordering or sorting code in several templates, consider building a custom pipe. |
ng-output |
Class Output Event |
ng-property |
Property: [property]="expression" |
ng-repeat |
Use ngFor instead. |