Add initial angular support
Print error message if connection to db fails