use server side code in angular code example Example: angular add universal ng add @nguniversal/express-engine