I want to show search results in a navigation menu.
HTML
<input type="text" ng-model="result" min-length="2" typeahead="institution.id as institution.name for institution in institutions($viewValue)" style="display:block" placeholder="Search">
JS
$scope.institutions = function(institution) {
return $institutions, {
query: institutions
}
.then(function(response) {
return limitToFilter(response.data, 15);
});
};
An inconsistency is showing up in the console.