Dependency Injection

Angular 22 @Service vs @Injectable (What You Need to Know)

Angular 22 @Service vs @Injectable (What You Need to Know)

April 30, 2026

Every Angular developer is familiar with @Injectable({ providedIn: 'root' }) for declaring services. While powerful, the @Injectable decorator supports many advanced configurations that are rarely used in typical application services. Angular 22 introduces a new @Service decorator designed to simplify service declaration for the most common use cases. This post will explore how it streamlines service creation and even enforces modern dependency injection patterns.