example app of angular and database