angular 2 database connection example