strongg lop angular REST api with promise CRUD