App.Module.ts
During the process of developing large Angular applications, especially if we are just one of a number of teams developing different parts of the same overall application, it's common to break them down into modules. We can view this file as our entry point into saying how a module is grouped together. For our purposes, we are interested in two sections in the module definition covered by @NgModule.
The first section is the declarations section, which tells Angular what components we have developed. For our application, we will develop three components that belong in here—AppComponent (which is added by default), FileuploadComponent, and PageBodyComponent. Fortunately for us, when we use the Angular CLI to generate components, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access