What is Angular, SPA Concept, Tools Setup
🔶 What is Angular?
-
Angular is a TypeScript-based open-source front-end web application framework developed by Google.
-
It's used to build Single Page Applications (SPAs) that are fast, dynamic, and scalable.
-
It provides everything you need to build modern web apps: components, routing, services, forms, HTTP, animations, etc.
✅ Angular is a complete framework — unlike libraries like React or jQuery.
🧩 Key Features of Angular
-
Component-based architecture
-
Two-way data binding
-
Dependency Injection
-
TypeScript support
-
Built-in routing and HTTP client
-
Reactive forms and Observables (RxJS)
-
CLI tooling for scaffolding and testing
🌐 What is an SPA (Single Page Application)?
-
An SPA is a web application that loads a single HTML page and dynamically updates the content without reloading the page.
-
Angular handles routing within the browser, so navigating between pages feels instant.
✅ Example:
-
Gmail, Google Docs, Facebook are all SPAs.
🛠 Tools Setup for Angular Development
Here’s what you need to get started:
✅ 1. Install Node.js
-
Go to https://nodejs.org
-
Download and install LTS version
-
Verify:
✅ 2. Install Angular CLI
ng version
✅ 3. Create First Angular App
ng new my-first-app
cd my-first-app
ng serve
Visit: http://localhost:4200
✅ 4. Install a Code Editor
-
Install Angular extensions like:
-
Angular Language Service
-
ESLint
-
Prettier
-
🎯 Summary of Day 1
| Topic | Description |
|---|---|
| Angular | Complete framework for building SPAs |
| SPA | Loads one page and dynamically updates it |
| Tools | Node.js, Angular CLI, VS Code |
| First App | Created using ng new and ng serve |
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
.png)
Comments
Post a Comment