White-label NodeJs/Angular website

I need to white-label an existing website (1) into another one and I’m not sure how to do it best. Here are the details:

  • The technology used for the website (1) is NodeJs/Angular with a PHP API
  • I need a complete integration (no redirect, different email headings, …)
  • Identical CSS style

I’m thinking about using an iframe but it might not allow me to do exactly what I need (like error pop-in / js). Plus, I think there would be some code duplication or tricks, which I really don’t like…

Do you have any advice or recommendation?

Source: AngularJS