1273 Views
Learn Angular-In-Depth | Learn TypeScript-In-Depth. The Constructor is a default method of the class that is executed when the class is instantiated. Constructor ensures proper initialization of fields (class members) in the class and its subclasses. Angular Dependency Injector (DI) analyse the constructor parameters.
0 comments