Removed verbs from URI, and changed POSTs into PUTs

By replacing jQuery's AJAX with Angular's $http.put, there is no longer a need to $apply to update the scope.