Searching in two fields using Bootstrap Typeahead in AngularJS

Issue I have two fields in my JSON: first_name and last_name. I want to use Bootstrap typeahead.js, using Angular-UI. <script type=”text/ng-template” id=”customTemplate.html”> <a> <span bind-html-unsafe=”match.label | typeaheadHighlight:query”></span> </a> </script> <input type=”text” ng-model=”result” typeahead=”patient as patient.first_name for patient in ngGridUsersData.patients |

Continue reading