I wish to develop a Web app using PHP as my server-side language and Angular 2 as my MVC framework. When I collecting information about Angular 2, I've seen that it is a good (and recommended) practice to install Node.js and npm first for Angular 2, because it uses Typescript. I have an experience in PHP and Angular JS but not Angular 2. So, my problem is this,
How I run (and compile) Angular 2 Typescript files with my website which has PHP extension, with both node.js and wamp server running?
Or, should I compile Angular 2 files first and them include them to my PHP website? Any help would be highly welcome.