basic angular requirements

npm install --save -g @angular/core
npm install --save -g zone.js
npm install --save -g rxjs
npm install --save -g hammerjs
npm install --save -g @angular/cli

Angular setup

ng new projectname
cd projectname
sudo npm install --save @angular/material @angular/cdk @angular/animations
npm install hammerjs
ng generate component componentname
ng generate service servicename

build stand-alone w/ relative path

ng build --prod --base-href ./