Skip to content
Pebellslearn by building

The course

Angular

Learn how an Angular app is put together, from the CLI and components to bindings, control flow, directives and pipes. Every lesson adds to one small plant-care app, so each idea lands on something you already know.

Ready to learn

Your path through the ideas

Inside the course

7 modules · 23 lessons
CLI tools & setup · Start here

Install your tools, choose your setup and verify a local run.

02Introduction to Angular3 lessons

Meet Angular and how it differs from the older AngularJS, see how components, services and the router divide the work, and create the Greenhouse project with the Angular CLI.

  1. 01Angular and Its History12 min
  2. 02How an Angular App Is Built12 min
  3. 03Setting Up a New Project15 min
03Components5 lessons

Take a component apart, style it without leaks, give it its own imports, pass data down and events up between parent and child, and reach into templates with viewChild and contentChild.

  1. 01Anatomy of a Component12 min
  2. 02Templates, Styles and Encapsulation12 min
  3. 03Standalone Components and Imports12 min
  4. 04Parent and Child: Inputs and Outputs15 min
  5. 05ViewChild and ContentChild15 min
04Understand Binding4 lessons

Learn the four binding shapes: interpolation to print values, property and attribute binding to set them, event binding to react to the user, and two-way binding to keep a field and a signal in sync.

  1. 01Interpolation and the Four Bindings12 min
  2. 02Property and Attribute Binding12 min
  3. 03Event Binding and Template Statements12 min
  4. 04Two-way Binding12 min
05Templates and Directives3 lessons

Read the older star directives and what the star really means, change how elements look with attribute directives and class bindings, and write your own reusable directive.

  1. 01Structural Directives12 min
  2. 02Attribute Directives12 min
  3. 03Writing a Custom Directive15 min
06Template Syntax and Lifecycle5 lessons

Learn when Angular calls a component's lifecycle hooks, then control the template with @if, @for, @switch, name values with @let and postpone heavy parts with @defer.

  1. 01The Component Lifecycle15 min
  2. 02@if, @else if and @else12 min
  3. 03@for, track and @empty12 min
  4. 04@switch, @case and @default12 min
  5. 05@let and @defer15 min
07Pipes3 lessons

Format dates, money, percentages and text with the built-in pipes, chain them without precedence surprises, and write your own pure pipe that Angular runs only when it must.

  1. 01Common Built-in Pipes12 min
  2. 02Chaining Pipes and Precedence12 min
  3. 03Custom Pipes and Pure Change Detection15 min
Hover to wake the cannons. Drag to move, or use arrow keys when focused. Press Enter to fire a shot.