This is a draft cheat sheet. It is a work in progress and is not finished yet.
Open Points
- Menu toolbar,sidenav, rgba (Materials 2)
- List of objects (Card)
- Form incl. add button
- Validator (required, pwd rules, pwd matches)
- Interaction with REST service |
Initialize
npm install -g angular-cli
ng new my-dream-app --skip-git
cd my-dream-app
ng serve
|
ng generate
ng generate component hello
ng generate route about
ng build
ng get
ng set
ng format
ng doc
ng version
// run karma
ng test
// run protractor
ng e2e
// run codelyzer
ng lint
|
|
|
Folder Structure
config/ |
configuration files |
e2e/ |
end to end tests |
node_modules/ |
npm dependencies |
public/ |
compilation target - web server main |
src/app/ |
main application source |
typings/ |
package.json |
dependencies |
Style Guide
src/app/name |
Component w |
src/app/+name |
lazy loaded like routing components, its child comps and their related assets and modules |
|