adding api for db access
adding api for data retrieval
adding api for data retrieval
removed archaic angular version