Remove error from $scope when there is no error