I want to learn Angular 2 and switch my app to using it, however, I\'m having a problem with using TypeScript.
In my current environment I can\'t use a use the tran
If you want to use TypeScript to write your application, you need a transpiler:
tsc -w
command running in backgroundThat said it's possible to write Angular2 applications with ES5 only. Here is a sample:
Edit
When you include these JavaScript files fro Angular2 (folder node_modules/angular2/bundles
), there is nothing about TypeScript:
These files were transpiled into JavaScript. So there is no need to have TypeScript. With them, you can implement your application with ES6 only.
To use ES5 only, you need to include these ones: