CRUD Operation using Rest and AngularJs