Posting data - MurhafSousli/ngx-wordpress GitHub Wiki
In order to add/edit/delete items in WP API, the user needs to be authenticated, check authentication chapter
Once you are logged in you can use these functions from the service:
//add a new post
wp.model().posts().add(body);
//update a post by id
wp.model().posts().update(id, body);
//delete a post by id
wp.model().posts().delete(id);