How to add a backend to your Angular app with Firebase
A great article on how to connect your Angular application to a Firebase database was posted in ng-newletter website and it shows how easy it is nowadays to store information. In a few words what you have to do is to add a couple of js scripts to your code and then add the firebase module as a dependency to your angular app.
You can register to Firebase and get a free database with some limitations but it comes with client-side authentication strategy out of the box which makes it really easy to secure your demo apps.
The complete guide is this link