Angular

New features and improvements of Angular 5

Angular 5 Contains bunch of new features, performance improvements and lot of bug fixes. like, · Make AOT(Ahead-of-Time Compilation) the default · Watch mode · Type checking in templates · More flexible metadata · Remove *.ngfactory.ts files · Better error messages · Smooth upgrades · Tree-Shakeable components · Hybrid Upgrade Application · And so on… […]

Ng Command Usage

Ng command can be used for different purposes in angular cli project. They are as follows:- 1. For Generating and serving an Angular project via a development server: ng new PROJECT_NAME cd PROJECT_NAME ng serve You can configure the default HTTP port and the one used by the LiveReload server with two command-line options :

Upgrade Angular cli

To upgrade Angular cli run below 3 commands: npm uninstall -g angular-cli npm uninstall -g @angular/cli npm cache clean npm install -g @angular/cli@latest

Scroll to Top