Root Module Example:
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser'; // in root modules
ncu
(to install: npm install npm-check-updates -g
)@angular/
package versions in package.json
to the newest version (4.4.5)npm install
npm start
, check for issues and correct.wlt
file, containing pvt key, encrypted by password (easily importable)HttpModule
=> HttpClientModule
Http
=> HttpClient
npm install @angular/animations@'^5.2.1' @angular/common@'^5.2.1' @angular/compiler@'^5.2.1' @angular/compiler-cli@'^5.2.1' @angular/core@'^5.2.1' @angular/forms@'^5.2.1' @angular/http@'^5.2.1' @angular/platform-browser@'^5.2.1' @angular/platform-browser-dynamic@'^5.2.1' @angular/platform-server@'^5.2.1' @angular/router@'^5.2.1' [email protected] rxjs@'^5.5.2'