based on https://angular.io/docs/js/latest/quickstart.html
-
npm install -
npm install -g http-server typescript tsd -
tsd reinstall -r -o -
tsc -p . -wto compile with typescript and watch -
open a new tab and run
http-server -
browse to http://localhost:8080/index.html