How to connect database and display it on website (AngularJS)?