As a newcomer to Angular2, I have recently started working on creating a simple hello world application.
I have come across the concept of Modules and Components in Angular2.
My main source of confusion lies in how to properly design an Angular2 application.
Should I create only one Module - AppModule - and include multiple components such as LoginComponent, HomeComponent, AboutComponent, etc. within it?
Alternatively, should I set up AppModule as the main starting point and then create separate modules like LoginModule (containing LoginComponents), DashboardModule (containing DashboardComponents), AboutModule (containing AboutComponents) etc., all of which are called from AppModule?
I am contemplating this approach with the idea that each screen, like Dashboard for example, may expand in functionality in the future and should also be easily reusable.