Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 970 Bytes

angular.md

File metadata and controls

57 lines (38 loc) · 970 Bytes

angular

  • App framework
  • Two versions
  • Component based
  • Modular

Table of Contents

Features

  • Data binding
  • Templates
  • CLI

CLI

  • sudo npm install -g @angular/cli
  • ng --version
  • ng new project001
  • cd project001
  • ng serve --open
  • ng generate component todoComponent
  • ng generate service todoService
  • ng generate module appRoutingModule

angular project structure

  • .editorconfig : It stores the editor specific settings

  • tslint.json, tsconfig.json : IT sets how TS will work and control for error checking..

  • main.ts : here it starts, which loads all files.

To add addtional framework

eg.

  • npm install bootstrap --save-dev

  • npm install jquery --save-dev

  • In file angular.json under styles .. you can use bootstrap

Updating to latest dependencies

npm install -g npm-check-updates
ncu -u
npm update
npm install