I'm trying to start to rewrite an Angular1 app into Angular 2 app. I start this new project with th help of angular-cli but I'm block to import http service.
I added the following line in my main.ts
import { HTTP_PROVIDERS } from '@angular/http';
And this one in my service that need to use http
import { Http, Response } from '@angular/http';
And for there two lines I have the following error:
Cannot find module '@angular/http'
Have you some Idea about what can i miss ? Thank you.