ngoninit

[1/1]

  1. Alternative Methods to Constructor and ngOnInit in Angular
    Constructor:Purpose: Initializes the component's properties and dependencies.Execution: Called once when the component instance is created