set up json api; implement crud in angular