you used to be able to filter by the value of an input element by
specifying it's ng:model as the filter name.
can you not do this anymore?
jsfiddle is down so i'm having to post the code here.
var appModule = angular.module('MyApp', []);
appModule.value('MySelection',{name:''});
appModule.value('MyList',[{name:'test1'},{name:'test2'}]);
function CtrlA(MySelection, MyList) {
var self = this;
self.list = MyList;
self.selection = MySelection;
}
CtrlA.$inject = ['MySelection','MyList'];
<div ng:app="MyApp">
<div ng:controller="CtrlA">
<select ng:options="
l.name for l in list"
ng:model="selection">
</select>
<input ng:model="myFilter"/>
<br>
With filter:
<div ng:repeat="l in list | filter:list:myFilter">
{{
l.name}}
</div>
<br>
No fitler:
<div ng:repeat="l in list">
{{
l.name}}
</div>
<p>
Selection: {{selection}}
</p>
</div>
</div>