Angular 2 Over Angularjs
Angular 2 Over Angularjs
Angularjs
1.AngularJS used popular JavaScript framework for creating web application
but now the now Angular 2 and TypeScript are bringing true object
oriented web development to the mainstream, in a syntax that is strikingly
close to Java/.Net
Module system Angular’s Module Angular’s Module ES6 Modules ES6 Modules
ES5 TypeScript/ES6
Controllers Components
Filters
Pipes
Ng-app
Bootstrap
[ngClass]
Ng-class
(click)
Ng-click
Difference between A1.x and A2.0
Angular 1.x Angular 1.x
Ng-if *ngIf
Ng-model [(ngModel)]
Ng-repeat *ngFor
Ng-show [hidden]
Promises Observables