Angular Questions
Angular Questions
4. How do you create a new Angular application using the Angular CLI?
14. How do you pass data from a parent component to a child component?
16. How do you emit events from a child component to a parent component?
65. How do you implement a service that fetches data from an API?
79. How do you access multiple child components from a parent component?
92. What is the purpose of the @Input decorator with default values?
12. How do you use the ngIf directive with else in Angular 19?
13. What is the purpose of the ngFor directive with trackBy in Angular 19?
14. How do you implement the new ng-container features in Angular 19?
Angular 19 - Continued
17. How do you create a new Angular 19 application using the Angular CLI?
19. How do you implement the new ng-content features in Angular 19?
21. How do you use the new @Input and @Output decorators in Angular 19?
22. What is the new ngModel syntax in Angular 19?
27. How do you make HTTP requests using the HttpClient in Angular 19?
29. How do you implement error handling in HTTP requests in Angular 19?
43. How do you implement a service that handles authentication in Angular 19?
50. What is the purpose of the ngIf directive with else in Angular 19?
51. How do you implement a dropdown using Angular Material in Angular 19?
57. How do you access a child component from a parent component in Angular 19?
64. What is the purpose of the resolve property in routing in Angular 19?
67. How do you implement a confirmation dialog before navigating away in Angular 19?
68. What is the purpose of the @Input decorator with default values in Angular 19?
70. What is the purpose of the ngModel directive in forms in Angular 19?
73. How do you implement a reactive form with dynamic fields in Angular 19?
75. How do you implement a multi-step form using reactive forms in Angular 19?
89. What is the purpose of the ng-template directive for conditional rendering in Angular 19?
91. What is the purpose of the ngFor directive with trackBy in Angular 19?
92. How do you optimize performance with trackBy in ngFor in Angular 19?
93. What is the purpose of the ngIf directive with then and else in Angular 19?
96. How do you access multiple child components from a parent component in Angular 19?
97. What is the purpose of the ng-template directive for dynamic content in Angular 19?
99. What is the purpose of the ng-container for grouping elements in Angular 19?