Steps to setup angularjs2:
step1: Download zip file OR clone repository by typing : git clone https://github.com/ashishtiwari1993/angularjs2_setup.git
step2: Install nodejs and npm. Make sure you have nodejs 5.x version and npm 3.x version.
step3: If you dont have nodejs and npm install, Use below command to install it:
for nodejs :-
curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
for npm :-
curl -L https://www.npmjs.com/install.sh | sh
npm install -g npm
step4: goto cd */angularjs2_setup type: npm start