feat(typeahead): provide filter as an option (fixes #509)