Skip to main content

Posts

Showing posts with the label How to update angular 2 to angular 4 apps?

How to Upgrade Web Applications from Angular 2 to Angular 4?

Angular 2 apps will work using Angular 4 without changing anything. Angular 4 offers lots-of enhancements i.e. 1.      Angular 4 is smaller than Angular 2 2.      Angular 4 is faster than Angular 2 3.      Angular 4 has enhanced *ngFor and *ngIf 4.      Angular 4 has more meaningful errors 5.      Overriding a template in Angular v4 6.      Angular 4 has great Animations Angular 4 Installation Process on Windows -  npm install @angular/common@latest @angular/compiler@latest @angular/compiler-cli@latest @angular/core@latest @angular/forms@latest @angular/http@latest @angular/platform-browser@latest @angular/platform-browser-dynamic@latest @angular/platform-server@latest @angular/router@latest @angular/animations@latest typescript@latest --save Angular 4 Installation Process on Linux/Mac- npm install @angular/{common,compiler,compiler-c...