Module 03 of 10

Components & Templates

Lessons

About This Module

Components are the heart of every Angular app. Each one pairs a TypeScript class with an HTML template and its own styles, and your whole UI is built by composing them together. This module is where Angular starts to feel like a framework you can build with.

It starts with the anatomy of a component: the class, the decorator, and the template. From there it covers data binding: interpolation to show values, property binding to set element attributes, event binding to react to the user, and two-way binding to keep both in sync. It closes with parent-child communication, passing data down with inputs and sending events back up with outputs, including the newer signal-based input(), output(), and model() functions.

The first two videos were recorded for earlier Angular versions, so you'll see NgModules and the *ngIf and *ngFor directives that newer projects replace with standalone components and the @if and @for blocks. The core ideas carry over, and the next module covers the modern syntax. Watch the lessons in order, then continue on to Directives & Pipes.

Lessons

4 videos
01

Angular Components Beginner's Guide

Fireship's guide to what a component is: the class and decorator, binding to attributes and events, interpolation, and an early look at directives, pipes, and the component lifecycle.

02

Angular for Beginners: Let's Build a Tic-Tac-Toe PWA

Build a small game from scratch to see components, templates, and bindings working together, including passing data from parent to child and splitting smart and presentational components.

03

Signal Inputs & output(): The Modern @Input and @Output

Convert a component from the classic @Input and @Output decorators to signal-based input(), output(), and computed() for cleaner parent-child communication.

04

How Angular Components Should Communicate in 2025

Wire up a parent and child with input() and output(), then simplify it with model() and two-way binding.