May be I need only explanation (without answer to my question, it could be not valid in some explanation cases). Studying angular I've found how to create new module using angular-cli. ...but I have no idea how to use if from main module. To be close with angular I've tried next experiment.
I've generated a modules:
$ ng generate module myTestModule
installing module
create src/app/my-test-module/my-test-module.module.ts
$ ng generate module myTestModule2
installing module
create src/app/my-test-module2/my-test-module2.module.ts
1.
I have usual file describes the main module app.module.ts. I could register module my-test-module.module.ts in the app.module.ts and my-test-module2.module.ts in the my-test-module.module.ts. How could it make my application better?
2.
I red splitting application on many modules provides better performance. But I confused with this. If I use some data loading functionality to URI1 module1 loads data, I navigate to URI2 module1 is deactivated, but module2 loads data. If I navigate back module1 is staying active one more time and loads same data second time! Have I missed something in angular?
3.
How I can get benefits from module structuring with angular?