added functionality to front end with angular to CRUD