Master Angular From Scratch

Learn Angular with clear, interactive, and structured lessons for beginners and developers.

ANGULAR COURSE SYLLABUS
1. Angular Introduction
Angular Introduction Angular History Angular Fundamentals Angular Architecture Component-Based Angular
2. Angular Setup
Angular Setup Introduction Installing Node.js Installing Angular CLI Creating an Angular Application Angular Project Structure
3. Components
Components Overview Component Anatomy Creating Components Component Selector Component Template Component Styles Component Metadata Standalone Components Parent and Child Components Reusable Components
4. Templates
Templates Introduction Template Syntax Template Expressions Template Statements Template Reference Variables ng-template ng-container ngTemplateOutlet Built-in Control Flow
5. Data Binding
Data Binding Introduction Interpolation Binding Property Binding Event Binding Two-Way Data Binding Class & Style Binding
6. Directives
Directives Introduction Attribute Directives Structural Directives Custom Directives
7. Pipes
Pipes Introduction Built-in Pipes Parameterized Pipes Chaining Pipes Custom Pipes
8. Event Handling
Event Handling Introduction DOM Events Event Binding Syntax Event Object Passing Data to Event Handlers
9. Input & Output
Component Communication @Input @Output EventEmitter
10. Lifecycle Hooks
Lifecycle Hooks Introduction ngOnInit ngOnChanges ngAfterViewInit ngOnDestroy
11. Services
Services Introduction Creating Angular Services Using Services in Components Sharing Data Through Services Service Scope
12. Dependency Injection
Dependency Injection Introduction Injecting Dependencies InjectionToken Provider Configuration
13. Routing
Routing Introduction Route Configuration RouterLink & Navigation Route Parameters Child Routes Route Guards
14. Forms
Angular Forms Introduction Template-Driven Forms Reactive Forms Form Validation Form Submission & Error Handling
15. HttpClient
HttpClient Introduction Configuring HttpClient GET Request POST, PUT & DELETE Requests Headers & Parameters HTTP Error Handling
16. Observables
Observables Introduction Creating & Subscribing to Observables Observable Data Streams Observable Operators Subscription Management
17. RxJS
RxJS Introduction RxJS Operators Transformation & Filtering Combining Observables Higher-Order Mapping Subjects
18. API Integration
API Integration Introduction Connecting Angular with REST API Consuming API Data CRUD API Integration API Response & Error Handling

Installing Node.js

Node.js is required for Angular development because Angular CLI and npm depend on the Node.js environment.

What is Node.js?

Node.js is a JavaScript runtime environment that allows JavaScript applications and development tools to run outside the browser.

Angular uses Node.js as part of its development environment. Angular CLI and npm work with Node.js to create, manage, develop and build Angular applications.

Node.js Installation Flow

1

Download

Download Node.js installer.

→
2

Install

Run the Node.js installer.

→
3

Verify

Check Node.js and npm.

Step 1: Download Node.js

Download the Node.js installer suitable for your operating system.

Important

Choose a Node.js version that is compatible with the Angular version used in your project.

Step 2: Run the Node.js Installer

01
Open the Installer

Double-click the downloaded Node.js installer.

02
Accept the License

Read and accept the Node.js license agreement.

03
Select Installation Location

Select the installation location or keep the default location.

04
Start Installation

Click the Install button and wait for the installation to complete.

05
Finish Installation

Click Finish after the installation is completed.

Step 3: Verify Node.js Installation

Open Command Prompt or Terminal and execute the following command:

Terminal
node --version
Expected Output

The terminal displays the installed Node.js version.

v[installed-version]

Step 4: Verify npm Installation

npm is normally installed along with Node.js. Verify npm using the following command:

Terminal
npm --version
Expected Output

The terminal displays the installed npm version.

[installed-npm-version]

Node.js and npm Verification

✓

Node.js

Node.js is installed and available from the terminal.

node --version
✓

npm

npm is available for installing and managing project packages.

npm --version

Node.js Role in Angular

Node.js Runtime Environment
↓
npm Package Management
↓
Angular CLI Angular Development Tools
↓
Angular Application Development and Build

Common Installation Issue

'node' is not recognized

If the terminal says that the node command is not recognized, close the terminal and open it again.

Then run node --version again.

Summary

Node.js is an important prerequisite for Angular development.

After installing Node.js, verify both Node.js and npm from the terminal.

Once Node.js is installed successfully, the next step is Installing Angular CLI.