I want to run my angular4 app using PM2 it will run but when I am close the terminal it will stop.
On this server already run
You can start any NodeJs server using pm2 start ****.js --name "Project Name".
pm2 start ****.js --name "Project Name"
You can check that server is online or not.