Enter a country name:
require(['jquery', 'px-libs/bootstrap3-typeahead'], function($) {
...
});
To use typeahead, you need to include ui-bootstrap.js script:
<script src="path/to/js/ui-bootstrap.js"></script>
Selected state: {{ typeaheadSelected }}