npm install -g @angular/cli
ng new my-dream-app
cd my-dream-app
ng serve
Install ÑPM nodejs:
sudo npm install -g @angular/cli
npm install -g @angular/cli@6.1.1
ng --version
ng new angular-crash-todolist
cd angular-crash-todolist
code .
ng serve --open
ng new PROJECT-NAME
cd PROJECT-NAME
ng serve
ng help
ng build
app component -ts file -> type scrinting
app component -spec ts fle -> testing
has a seletor- 'app-root' - which has html file
-> npm install formidable - file upload
-> npm install nodemailer - file mailer
npm install typescript @types/express @types/multer @types/lokijs @types/del --save-dev
ng-empty
ng-not-empty
ng-touched
ng-untouched
ng-valid
ng-invalid
ng-dirty
ng-pending
ng-pristine