Reset search bar to empty string after submission, but used angular.copy to save search string