        class="form-control">

    <h4>Custom templates for results of states (USA only)</h4>
    <pre>Model: {{customSelected | json}}</pre>
    <input type="text" ng-model="customSelected" placeholder="Custom template"
           typeahead="state as state.name for state in statesWithFlags | filter:{name:$viewValue}"
           typeahead-template-url="customTemplate.html" class="form-control">
           
    <h4>Asynchronous results of states and countries from Google Maps</h4>
    <pre>Model: {{asyncSele