Angular

Fix Angular dependency injection, change detection, RxJS subscriptions, memory leaks, performance issues, and production Angular problems

Medium

Fix Memory Leak from Unsubscribed RxJS Observables

Subscriptions to observables are never unsubscribed, causing memory leaks when component is destroyed.

Medium

Fix Change Detection Performance Issue

Component re-renders on every change detection cycle because OnPush strategy is not used.

Hard

Fix Circular Dependency in Angular Services

Two services inject each other, causing circular dependency error at runtime.

Medium

Fix HTTP Interceptor Not Handling Errors Properly

Global error handling is missing, causing unhandled errors to break the app.

Medium

Fix Async Pipe Not Unsubscribing in Template

Multiple async pipes in template create multiple subscriptions, causing performance issues.

Medium

Fix Form Validation Not Triggering on Dynamic Fields

Dynamic form controls added at runtime don't trigger validation properly.

Hard

Fix Route Guard Not Preventing Navigation Properly

CanActivate guard allows navigation even when condition fails.

Medium

Fix Change Detection Not Triggering After Async Operation

Component doesn't update after async operation because change detection isn't triggered.

Medium

Fix Memory Leak from ActivatedRoute Subscription

ActivatedRoute params subscription is never unsubscribed, causing memory leaks.

Hard

Fix Angular Zone.js Performance Issue from Frequent Change Detection

Change detection runs too frequently due to Zone.js patching, causing performance issues.

Easy

Fix Angular Form Validation Not Triggering

Form validation doesn't trigger because validators are not properly configured.

Medium

Fix Angular HTTP Interceptor Not Adding Headers

HTTP interceptor doesn't add headers because it's not properly registered or order is wrong.

Medium

Fix Angular Route Guard Not Preventing Navigation

Route guard allows navigation when it should block, causing unauthorized access.

Easy

Fix Angular Service Singleton Not Working

Service is provided in component instead of root, creating multiple instances.

Medium

Fix Angular Component Input Not Updating

Component input doesn't update because OnPush change detection is used without proper updates.

Medium

Fix Angular Resolver Not Loading Data Before Route Activation

Route resolver doesn't load data, causing component to render with undefined data.

Medium

Fix Angular Lazy Loading Module Not Loading

Lazy loaded module doesn't load because route configuration is incorrect.

Easy

Fix Angular ViewChild Not Available in ngOnInit

ViewChild is undefined in ngOnInit because view is not initialized yet.

Medium

Fix Angular FormArray Not Updating Template

FormArray changes don't reflect in template because change detection isn't triggered.

Easy

Fix Angular HTTP Error Not Caught in Component

HTTP errors are not caught, causing unhandled errors and poor UX.

Medium

Fix Angular Directive Not Applying Styles

Directive doesn't apply styles because host binding or renderer is not used correctly.

Hard

Fix Angular CanDeactivate Guard Not Preventing Navigation

CanDeactivate guard doesn't prevent navigation when form has unsaved changes.

Medium

Fix Angular Pipe Not Updating on Data Change

Pipe doesn't update when input data changes because it's not pure or change detection issue.

Easy

Fix Angular Service Not Sharing State Between Components

Service state is not shared because service is provided at component level instead of root.

Medium

Fix Angular Animation Not Triggering

Animation doesn't trigger because trigger name or state doesn't match.

Medium

Fix Angular Content Projection Not Working

ng-content doesn't project content because selector doesn't match or projection is incorrect.

Hard

Fix Angular Dynamic Component Not Rendering

Dynamically created component doesn't render because ViewContainerRef or ComponentFactory is not used correctly.

Easy

Fix Angular Route Data Not Available in Component

Route data is undefined because resolver didn't run or data access is incorrect.