title: IP Whitelisting in Angular JS
body: <p>I am using AngularJS v1.2.32. </p>
  
  <p>I want to source IP based white-listing to legitimate systems. I have searched but found examples using third party json application.</p>
  
  <p>Need to get client IP in JavaScript , angularjs and restrict access to other users.</p>
  
  <p>Your help is highly appreciated.</p>