So I've got my AppModule, module A, module B which is a submodule to A and component X declared in B.
My goal is to make X available app-wide (also in components like pages).
From my understanding, B needs X in declarations and exports, A needs B in imports and exports and AppModule needs A in imports. But the component X is unknown. What am I missing?
Thanks