Angular Basics
1. What is Angular?
2. What are the key features of Angular?
3. Explain the difference between AngularJS and Angular.
4. What are the core building blocks of an Angular application?
5. What is the Angular CLI, and how is it used?
6. Explain the concept of Angular modules.
7. What is data binding in Angular?
8. Differentiate between one-way and two-way data binding.
9. What is interpolation in Angular?
10. How do you create a new Angular component?
11. Explain the purpose of the Angular template.
12. What is the purpose of the Angular decorator '@Component'?
13. What are directives in Angular?
14. How do you pass data from a parent component to a child component?
Components and Templates
15. What is the Angular component lifecycle, and what are the lifecycle hooks?
16. Explain the role of ngOnInit in a component.
17. How do you use property binding in Angular?
18. What is event binding in Angular?
19. Explain ngIf, ngFor, and ngSwitch directives with examples.
20. What is Angular's content projection and ng-content?
Services and Dependency Injection
21. What is dependency injection in Angular?
22. Explain the purpose of Angular services.
23. How do you create and use a service in Angular?
24. What is providedIn in Angular services?
25. What is a singleton service in Angular?
26. What is Angular Router, and why is it used?
27. How do you configure routing in an Angular application?
28. Explain the difference between router-outlet and routerLink.
29. What is route parameters in Angular?
30. How can you protect routes in Angular using guards?
31. Explain lazy loading in Angular routing.
32. What is ActivatedRoute, and how is it used?
33. How can you navigate programmatically in Angular?
HTTP and Observables
34. How do you make HTTP requests in Angular?
35. Explain the purpose of HttpClientModule.
36. What are Observables in Angular, and why are they used?
37. How do you handle HTTP errors in Angular?
38. What is RxJS, and how does it relate to Observables?
39. Explain the difference between switchMap and mergeMap.
40. How do you cancel an HTTP request in Angular?
Pipes In Angular
41. What are pipes in Angular?
42. List some built-in pipes in Angular and their uses.
43. How do you create a custom pipe in Angular?
44. Explain the concept of pure and impure pipes.
45. How can you chain multiple pipes together in Angular?
Advanced Topics
46. What is Angular Universal, and why is it used?
47. How do you perform server-side rendering (SSR) in Angular?
48. Explain Angular animations and how to use them.
49. What is AOT (Ahead-of-Time) compilation in Angular?
50. Explain the concept of lazy loading for modules.
51. What is the purpose of ng-container in Angular templates?
Testing and Test Cases
52. What is testing in Angular, and why is it important?
53. How do you write unit tests for Angular components?
54. Explain TestBed and ComponentFixture in Angular testing.
55. What is e2e testing in Angular, and how is it performed?
56. What is Karma, and how is it used for testing Angular applications?
Deployment and Build
57. How do you build and deploy an Angular application?
58. Explain the purpose of the base href tag in Angular.
Debugging
59. What tools and techniques can you use for debugging Angular applications?
60. How do you inspect the component tree in Angular?