I am creating (actually rewriting ng 5 app) an Angular app and want to keep reusable self contained modules prepared to reuse.
I’d like to do a minimum first step to have separate
my.org folder along with an app and put all the modules there each in separate folder with its own
some-feature.module.ts file. I already found that I can use
.. to keep the modules out of the
app. I’d like to know what else I should consider to keep the modules self contained and decoupled from the app and from each other. The modules can contain either components or just a service for a single module.
Making the modules npm-able is not in scope of this step.