I am using angular2 with nodejs, how about using apache/xampp. will it support or nodejs npm server is mandatory for angular2
NodeJS is Mandatory for angular2 !
let me tell you why?
NodeJS offers typings & other dependency packages like
SystemJS,RxJS which helps angular2 do thye magic you call
Though you could run angular2 apps in Xampp but recommended approach will be with NodeJS as it offers a lot more flexibility & framework support for development.
Angular-Cli is node module which helps you setup your project really fast.
On top of that node gives you flexibilty to add third party libraries easily into your project.
So I will go with NodeJS on this.