title: How to copy/run the components of one Angular app to another
body: <p>I have two projects both developed in Angular, my first project is "zbarcode" and second project is "loginpage". Both the project structures have been created using Angular-cli. </p>
  
  <p>Zbarcode structure -
  <a href="https://i.stack.imgur.com/ESQy7.png" rel="nofollow noreferrer">Zbarcode Structure (app.module.ts)</a></p>
  
  <p>Loginpage structure -
  <a href="https://i.stack.imgur.com/3vo0i.png" rel="nofollow noreferrer">Loginpage Structure (app.module.ts)</a></p>
  
  <p>If you look at the codes of loginpage component and module files, i want to add the zbarcode scannner component and features here. I dont know whether i can do it through angular routing or should i copy the contents of zbarcode to loginpage. The output i want is to run the scanner (zbarcode) after login (loginpage)</p>
  
  <p>Thanks in Advance</p>