I have this angular app which basically uses the concept of Libraries.
I have 2 libraries named Lib1 and lib2 grouped according to microservice to which they serve.
Now I import these libraries into the main app i.e. App1 and things was till now.
Now, Lib1 has a component UploadComponent which is responsible for Upload all types of media files video, image, Docs, etc. which works fine when used in the App1 independently by using the component selector or loading through a route.
Lib2 has a component CreateComponent which needs the upload functionality , so I import the UploadComponent and call it inside the modal window. But after the upload is done this component emits some message but I am unable to capture that because Createcomponent and UploadComponent are in different libraries.
Does anyone know how to handle this situation?