fix mock data, implement angular rest service