Top 40 Angular Intermediate Interview Questions and Answers (2025) | rgdimension Top 40 Angular Intermediate Interview Questions and Answers (2025) 1. What are Lifecycle Hooks in Angular? Lifecycle hooks allow developers to tap into key moments of a component's life, such as creation, change detection, and destruction. ngOnInit() – runs once after component initialization ngOnChanges() – called when input properties change ngOnDestroy() – called before a component is destroyed 2. What is ViewEncapsulation in Angular? It defines how CSS styles are applied to components. Options include: Emulated (default) – styles scoped to the component None – global styles ShadowDom – uses native Shadow DOM 3. What is ChangeDetectionStrategy? It controls how Angular checks for changes in components: Default: che...