I want to create a library in Angular, this will have two sections: UI and Services, UI is for the components that can be reused in the projects where the packages are installed, same case for the services, these can be used in the projects in which the package is installed, now, what I need is that when I go to import a component the import looks like this: import { Component } from '@contoso/core/ui'; And when importing a service, the import should appear like this: import { Service } from '@contoso/core/services'; Let's assume my project is currently named "@contoso/core". In the public-api.ts file, I would include all the components and services I want to export. This would result in both components and services being imported like this: import { Component/Service } from '@contoso/core'; So, I would like to know how I can add the namespace for UI and Services. It would be very helpful if you could help me solve this problem please. Continue reading...