Angular 1.x in new style

https://github.com/Basware/typescript-ng1-style

http://www.developerhandbook.com/typescript/writing-angularjs-1-x-with-typescript/

Angular2

req

nodejs in system (node, npm and ncu)

curl -sL https://deb.nodesource.com/setup_5.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g npm-check-updates

project

package.json

npm install --only=prod
npm install --only=dev