Currently, I am still wrapping my head around the whole Angular 2 concept. I have used AngularJS (1) in the past, and I liked it.
So currently I am starting a new project and thought why not start using Angular 2. Now I know everyone is using Typescript instead of javascript. However, I'm still unsure how to make a project runnable on a simple web hosting server (PHP, HTML, MySQL, Javascript, etc).
I know I can run npm start on my Linux server, but how does one put it on a hosting server? Can't I just compile the Typescript to javascript so that I can use it in a browser without having to run npm? I read something about JSPM and few others, but I am unsure if this is what I need nor do I get how to get it to run using JSPM or something similar (for example using the "under 5 minutes quickstart" with JSBPM).
I know Angular 2 has a javascript part, and that works for me. However there are no coding examples, and everything you find on the internet is Typescript. So I can't proceed to run Angular 2 in javascript because the lack of tutorials.
In short I don't mind using Typescript, but I just want a pure javascript as a result which I can import into HTML and go from there.
Also on a side note question, do all the node_modules need to be present when running production?
Bonus points for tutorials which explain this!
Thanks!