- Language
- HTML
- JavaScript
- TypeScript
- Tools & Environments
- NodeJS Runtime Environment
- Angular CLI
- IDE / Editors
- VS Code
- IntelliJ IDEA
- Webstorm
- Installing Angular CLI Globally
npm i -g @angular/cli
- Generating an Angular application
ng new <project name>
- Run Angular application
ng serve
orng s
ng serve --port 4201
orng s --port 4201
- Generate a component
ng generate component <component name>
orng g c <component name>
- Generate a module
ng generate module <module name>
orng g m <module name>
- Generate a service
ng generate service <service name>
orng g s <service name>
-
Package Manager
- NPM (Node Package Manager) - package-lock.json
- YARN - yarn.lock
-
~8.2.14
^1.10.0
-
Angular CLI
-
First-party libraries
-
Angular applications: The essentials
- Components
- Templates
- Dependency Injection
Angular - What is Angular?
- Brief start
- Components
- Component class (*.ts)
- Component template (*.html)
- Component specific styles (*.css)
- Component test class (*.spec.ts)
- Services
- Module and Routing Module
- Decorator
- @NgModule
- @Component
- @Directive
- @Injectable
- Components
- Adding 3rd party dependency (Bootstrap)
- Template Interpolation {{}}
- Angular Template Syntax
*ngFor
*ngIf
*ngSwitchCase
- Property Binding [prop]
- Event Binding (event)
- Nesting Components
- Parent-child communication using @Input decorator
- Child-parent communication using @Output decorator
- Angular Module
- Angular Routing Module
- Redirecting routes
- Passing data through routes
- state
- queryParams
- params
- Nested children routes
- Lazy-loaded routes or modules
- Angular Service and Dependency Injection
- Inbuilt Pipes (Async pipe)
- RxJS: Subject, Behavioral Subject, Observable and Subscription
- HttpClientModule
- Fetching the mock data
- Fetching data from the server
- Template-driven form: FormsModule
- Reactive form: ReactiveFormsModule
- AbstractControl
- FormGroup
- FormControl
- FormArray
- FormBuilder
- Ng-container
- Ng-template
- Ng-content
- Route guards
- Http Interceptors
- Go through Route guards and Http Interceptors implementation from this repo
- State Management with NgRx Intro
- NgRx application | Go through NgRx implementation from this repo