December 2017
Beginner
372 pages
10h 32m
English
In Angular, we have app.module, which is the startup module and is responsible for declaring all of the dependencies of this module, including the startup component. If you look at our app.module.ts file, you will see a bootstrap property in NgModule, which defines the component that Angular should use as a startup component. The following is the code snippet from our app module file:

This screenshot shows the various components of NgModule and their purpose. When Angular loads the app.module file, it checks for the bootstrap component and, then, renders this component. In our case, this component is AppComponent. Hence, ...
Read now
Unlock full access