title: Angular pass data to an imported module
body: <p>I have an issue concerning the way I should pass data to imported module in my App.</p>
  
  <p>Actually, I have created a module which contains many components that I use in my app.</p>
  
  <p>I would like to give this module two data objects User and Company.</p>
  
  <p>The problem is that I don't want to pass them as input in each component, I feel it's redundant in my module I'll have to deal with inputs everywhere with the same object.</p>
  
  <p>What I want is to pass those two objects to my imported module, and being able to have them in a shared service to use them all around the module.</p>
  
  <p>I know I can pass config object using forRoot(). But in my case, I'm not sure it's made for this purpose (pass two data object). And also if the user didn't logged in yet I think the object will be null and won't be updated later.</p>
  
  <p>Thank for your help.</p>