[ad_1]
Angular is a front-end framework and In order to store user information, you should probably have a back-end connected to your app (NodeJS or Java), or else, you can use Firebase.
If you have a back-end, for an example, say java, You can connect your Java Back-end with SQL Server and store passwords there.
But as I understand, what you need to implement is a small authentication system for your app. In this case, Firebase is the easiest solution. You can do this with the help of AngularFire. Follow this tutorial.
[ad_2]
solved How to store user information in database in Angular 2?