edits to angular trying to fix posts and deletes, due to 405