The delete function now works.
Show and edit function working at the moment.
Edit function now works.
newItem changed to item because of form change from ng-submit to ng-click for two options.
Code also still has all of the comments.
Comments removed and syntax made consistent as possible.