Angular

A batteries-included framework from Google with TypeScript, dependency injection and signals; common in enterprises.

Intermediate · about 16 hours · difficulty 4/5

Learn first: Declarative UI and Component Thinking, TypeScript Fundamentals

Angular is a full framework rather than a library: routing, forms, HTTP, testing and a CLI come in the box, with strong conventions. It is TypeScript-first and popular in large enterprises, banks and government projects where consistency across big teams matters.

Core concepts

  • Standalone components: a TypeScript class with a @Component decorator, a template and styles. Modern Angular no longer requires NgModules for most apps.
  • Signals: signal(), computed() and effect() provide fine-grained reactivity and are now the recommended way to manage component state.
  • Template syntax: property binding [value], event binding (click), and built-in control flow @if, @for (with track) and @switch.
  • Dependency injection: services (@Injectable) are provided and injected with inject(), which makes sharing logic and testing straightforward.
  • Inputs and outputs: input() and output() for parent-child communication.
  • Built-in modules: the Router, HttpClient and Reactive Forms.
  • RxJS: observables still appear in HttpClient and many libraries; learn the basics (pipe, map, switchMap).

Pitfalls

Learning from outdated tutorials (NgModules, zone-based change detection everywhere); overusing RxJS where a signal would do; ignoring the CLI's generators and conventions.

Good enough to move on

You can generate an app with the Angular CLI, build routed standalone components using signals, fetch data through an injected service with HttpClient and validate a Reactive Form.

Key concepts

  • Angular CLI and project structure
  • Standalone components and templates
  • Signals and computed
  • Built-in control flow
  • Services and dependency injection
  • Router and HttpClient
  • Reactive Forms
  • RxJS basics

Other options for this step

  • React: The most widely used UI library: JSX, components, props, state and events. Our recommended framework for your first job.
  • Vue: A progressive framework with single-file components and fine-grained reactivity; approachable and popular in Asia and Europe.
  • Svelte: A compiler-based framework with runes for reactivity and very little boilerplate; small bundles and a joyful developer experience.

Mini project

Build an employee directory in Angular: a routed list and detail view, a service that loads data with HttpClient, signals for filters and a Reactive Form to add employees.

Check yourself

What problem does dependency injection solve when two components need the same data-loading logic?

Free resources