I have the following:
index.html
<input type="text" ng-model="filter" ng-change=""/>
controller.js
$scope.loadFilter= function(cadena) {
AppService.loadFilter(cadena) => esto ya me devuelve el filtrado
}
I need that when you write 2 letters, call a rest service that will return an already filtered list