clearResults function autocomplete.scope.clearResults source Clears the results element. viewModel.clearResults() Clears the results element.