Hi,
How can we receive data of Angular app inside an Angular Library.
e.g. suppose the library has a services.ts file which makes a http call and receives a list of data and other components inisde library are dependent on this file. This scenario works fine if we keep the Services inside the library. But, incase we move the services.ts file outside of library and move out to App, then how can we create library without services as the ng build command won’t run due to components dependent on the services won’t have access to services.ts file.
So how can we overcome this issue of data transfer from file existing outside of library to the files existing inside of library.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.