Angular Interview Questions
Angular Interview Questions Lifecycle Hooks: Q1. What is the sequence of component lifecycle hooks? Q2. If there is a nested component like the parent and child component then what will be the order of lifecycle hooks? Q3. What is the difference between ngDoCheck() and ngOnChanges()? Q4. Which of the lifecycle method called when the input properties changes . Q5. Which of the lifecycle method called after the child views are initialized . Q6. What are the lifecycle methods called only once in the lifecycle ? Q7. Can we access the Dom element inside the Constructor? Component: Q1. What is the difference between the providers section present in the component and present in app.module.ts file? Q2. How do you reference a child component inside a parent component? Q3. What is the difference between @ViewChild and @ViewChildren? Q4. What is the difference between @ContentChild and @ContentChildren? Data Binding: Q1. What is two-way bin...