3

I used the latest angular.d.ts v2.0.0-alpha.31 and angular.dev.js v31. when i execute the tsc or compile my typescript code it says "Cannot find external module 'angular2/http'"

1

1 Answer 1

10

The http module separated from angular.dev.js. Its in the http.dev.js now.

Sign up to request clarification or add additional context in comments.

1 Comment

maybe superfluously: you need to add BOTH angular.dev.js and http.dev.js to your index.html. Took me some time to understand the answer :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.