Angular project playground

Start a real Angular CLI project in your browser. Choose a modern standalone starter, a traditional NgModule example or an Angular Material example, then edit files and inspect the output side by side.

Read the runtime requirements below.

src/app/counter.ts
import { Component, computed, signal } from '@angular/core';

@Component({
  selector: 'app-counter',
  template: '<button (click)="count.set(count()+1)">{{count()}}</button>'
})
export class Counter {
  readonly count = signal(0);
  readonly doubled = computed(() => this.count() * 2);
}
Expected output
Angular CLI → dev server → live preview

Angular 22 project files

Separate TypeScript, HTML and styles. Add components, services, routes and NgModules.

npm dependencies

Edit package.json or use npm install in the terminal. Compatible Angular libraries must meet their peer dependency requirements.

Editor and debugging panels

Resize the editor and preview. Inspect console, compiler errors, HTTP requests and development-server output.

How to use this tool

  1. Open the studio on HTTPS or localhost in a supported desktop Chromium browser.

  2. Choose an example and select Run project. Initial runtime and dependency downloads need internet.

  3. Edit files, choose Save & sync and test the preview. After terminal edits or package installs, choose Pull runtime files before saving or exporting.

Limits and requirements

The starter pins Angular 22.2.6 with CLI 22.2.7 and TypeScript 6.0.3. Angular libraries and modules are supported when compatible with this version and the browser Node runtime. This does not guarantee every npm library, native binary, backend, SSR deployment or desktop integration. Monaco provides syntax editing; Angular CLI reports template and type errors. Browser runtime prerequisites and provider access still apply. Commercial WebContainer production use requires an eligible provider license.

Provider’s commercial usage terms

Frequently asked questions

Will my source be saved?

Local drafts stay in this browser’s storage. Export a ZIP or source file to keep a separate copy. Cloud saves need a configured account and are sent to the site’s database.

Does this use AI?

Running code in this playground does not call an AI provider.

Can I use real account credentials in sample code?

Use test data for experiments. Browser code, source exports, console messages, and debug reports can expose values you put in them.