O'Reilly logo

Learning Angular for .NET Developers by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Preparing Angular application

The following are the steps for preparing Angular application:

  1. Add the @angular/http module to dependencies in package.json. The HTTP module is required to consume Web API services. The updated package.json is given here:
 {      "version": "1.0.0",      "name": "my-todo",      "private": true,      "dependencies": {        "@angular/common": "~4.0.0",        "@angular/compiler": "~4.0.0",        "@angular/core": "~4.0.0",        "@angular/forms": "~4.0.0",        "@angular/http": "~4.0.0",        "@angular/platform-browser": "~4.0.0",        "@angular/platform-browser-dynamic":   "~4.0.0",        "systemjs": "0.19.40",        "core-js": "^2.4.1",        "rxjs": "5.0.1",        "zone.js": "^0.8.4"      },      "devDependencies": {        "@types/node": "^6.0.46",        "gulp": "^3.9.1",    "typescript": "~2.1.0" ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required