Here is my answer.
You can only write an Angular2 application using Angular2 packages without using node or mamp or xampp and host this application. Link
, angular 2 - cli
index.html, :
<base href="/">
<base href="./">
, :
ng build --prod
dist xmpp htdocs , :
: 8080//