I added the following property to my systemjs.config.js
map object in my Angular 2 app:
'@angular/http': 'https://npmcdn.com/@angular/http'
When I ctrl-click on the url it attempts to download a js file. However, when I try to import from '@angular/http
' at the top of my service.ts, the compiler returns the error "Cannot find module '@angular/http
'.`"
Is there an additional step that I'm missing in order for this module to be recognized and usable by my angular app? I'm using Angular version 2.0.0-rc.4.
question from:https://stackoverflow.com/questions/38510369/cannot-find-module-angular-http