How To Secure My Api Used For Customer Login Without Making It Vulnerable To Others : <p>I am very new to development with angularjs.
I am creating a user login system using angularjs. 
I created a user login system using angularjs using json data.
But using my api link in controllers is vulnerable to anyone who is inside the source code to my login page.</p>

<p>I want to secure my api to be unvulnerable to anyone. Using the source code can help anyone to see all the users to my platform. Also if I am hashing the password then also some techy might decode the password.</p>

<p>Please help me with angular or json to secure my login platform.</p>
