This project shows how to get IP address into Angular project using Javascript
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
https://programmingwithnaveen.com/2017/12/26/get-client-ip-in-angular/