1 min readApr 4, 2018
The purpose of this article is to understand that ContentfulModule must be able to live on its own. It doesn’t have to rely on providers set by other modules, that’s a bad practice. Look at how you setup other libraries such as AngularFire2, passing the config object to a method (in that case you use initializeApp() instead of forRoot() but it’s the same mechanism).