Implemented Edit/Delete for AngularJS