Adding angular functions to edit the work