
Angular Standalone
This handles everything around Angular's standalone component architecture, which became the default in Angular 17. You'll want it active when setting up component imports arrays, using functional providers like provideRouter and provideHttpClient, or bootstrapping apps without NgModules. It covers the migration path from traditional NgModule-based apps and includes practical patterns for lazy loading and routing. The examples are current to Angular 21, so the API guidance reflects what actually works today. Honest take: if you're still writing NgModules in new Angular projects, this will get you up to speed on the modern approach fast.
- skills.sh installs
- 189
- GitHub stars
- 7
- last updated
- Aug 21, 2026
Install
$ npx -y skills add oguzhan18/angular-ecosystem-skills --skill angular-standalone --agent claude-codeInstalls into .claude/skills of the current project.
Files
Angular Standalone Components
Version: Angular 21 (2025) Tags: Standalone, Components, Imports, Bootstrap
References: Standalone Guide • Migration
API Changes
This section documents recent version-specific API changes.
-
NEW: Standalone by default — New components are standalone by default since Angular 17
-
NEW: provideRouter for standalone — Use functional providers instead of RouterModule
-
NEW: ng generate @angular/core:standalone — Migration schematic
-
DEPRECATED: NgModule — Migration to standalone components recommended
Best Practices
- Create standalone components
@Component({
standalone: true,
imports: [CommonModule, MatButtonModule],
selector: 'app-my',
template: `<button>Click</button>`
})
export class MyComponent {}
- Use imports array for dependencies
@Component({
standalone: true,
imports: [
CommonModule,
RouterModule,
MatCardModule,
MyChildComponent
],
template: `
<mat-card>
<app-my-child></app-my-child>
</mat-card>
`
})
export class ParentComponent {}
Sponsors
Details
- Repository
- github.com/oguzhan18/angular-ecosystem-skills
- Category
- Frontend Development
- First seen
- Jun 3, 2026
More from oguzhan18/angular-ecosystem-skills
All 45- Angular Elements188
- Angular Cli187
- Angular Http185
- Angular Guards184
- Angular Interceptors184
- Angular Schematics184
- Angular Components182
- Angular Destroyref182
- Angular Forms182
- Angular Pipes180
- Angular Resolvers179
- Angular Deferrable178
- Angular Resource178
- Angular Signals178
- Angular Signals Forms178
- Angular Reactive177
- Angular Directives176
- Angular Lifecycle176
- Angular Di175
- Angular Viewchild174
- Angular Cypress172
- Angular Router172
- Angular Control Flow170
- Angular Zoneless170