add editing and canceling with ng-if filter