Need suggestions on how to reuse common code across angular apps.
We started developing an app with angular2 for some specific needs but at a later point realized that more apps will follow and try to reuse ALL or ONE of the common services and components in other apps.
To solve the purpose, we decided to move the common code to a separate standalone app and create ngModules for these common components which should be consumable for other apps to use. Is this a correct way of doing it ? If yes, how to consume these services in my app ? If not, What is the best way to import common modules into multiple Apps ?
Please suggest