I am using angular UI's typeahead to get data from an API, the problem is the dataset is too huge and makes the browser hang for a considerable amount of time. The API has around 20,000 objects of JSON data and for instance searching for "p" would require at least transfer of 1.4 MB of data. Please help me sort out the issue.I am using angular UI's typeahead to get data f