Below, is a simple lookup when the user starts typing...
<input type="text" data-ng-model="question_handset" list="phones" class="form-control">
<datalist id="phones">
<option data-ng-repeat="ttl in titles" value="{{ttl}}">
</datalist>
script:
$scope.titles = [ "Comics Action" ,
"Detective Comics" , "Superman" , "Fantastic Four" , "Amazing Spider-Man" ];
My problem is that this only matches on the first word you type.
i.e. I want it to work in a way where you could type: Comics and anything with the word "comics" is shown in the list for example: Detective Comics, Comics Action
I don't want to use jQuery, is there anything that can can be done with the current code to achieve this? Examples would be good. Thanks.
