Q. What is the purpose of `ngOnInit` lifecycle hook?
β
Correct Answer: (A)
It is called after Angular initializes the component's data-bound properties
Explanation: `ngOnInit` is commonly used to perform initialization logic for the component.