CodeZettaInterview Hub

Angular · Interceptors · Senior · Architecture

When should logic be an interceptor vs a service method?

Short Interview Answer

Cross-cutting concerns for all HTTP → interceptor; feature-specific shaping → service.

Detailed Explanation

Don't hide business rules in interceptors. Keep them thin and testable.

Did you know this answer?