Remove editor from $scope object