Extract data from Json for ng-bootstrap typeahead
问题 Trying to make Play Framework (REST) and ng-bootstrap - Typeahead work together. But I'm facing a problem with extracting data from json response. For example I write "test" (searches in database by name ), server returns json array(everything is right): [{ "id": 1, "name": "test", "annotation": "test annotation", "kiMin": 1, "kiMax": 2, "cosFiMin": 3, "cosFiMax": 4 }, { "id": 4, "name": "test2", "annotation": "test annotation", "kiMin": 1, "kiMax": 2, "cosFiMin": 3, "cosFiMax": 4 }] But the