How to get client ip address in AngularJs

Code to Get IP Address: Here in this article will see how to get client IP address in AngularJs application. For this, we use angularjs $httpservice to make an ajax call, which in response gives us the Client IP Address , Hostname , City , Region , Geo Location (Latitude,Longitude) , Country and name of organization and other details.