Aicloud E-Learning

Guided Notes

Introduction to Angular

Components, modules, and the framework's structure.

Angular is a complete frontend framework (not just a library) built with TypeScript — it comes with its own conventions for components, routing, forms, and HTTP requests, all designed to work together out of the box.

A component pairs a TypeScript class (logic and data) with an HTML template (what's displayed) and CSS (how it looks) — the three usually live in separate files for the same component.

Angular emphasizes dependency injection: a component declares what services it needs (like an API client) in its constructor, and Angular provides them automatically.