ng-repeat ejecutar muchas veces
tengo un pocodemo en jsfiddle :
HTML:
<input type="checkbox" id="chkUsr{{usr.Id}}" ng-model="usr.Checked">
{{usr.Name}} : {{usr.Checked}}
<input type="text" ng-model="research"/>
<div ng-repeat="entity in entities | filter:research | log">
Hello {{entity.id}}!
JavaScript:
app.filter('log', function() {
return function(items) {
console.log('yo');
return items;
};
});
Se llama al filtro de registro cuando se cambia la entrada (incluso la casilla de verificación).
¿Cómo cambiar eso y activar el filtro de registro solo cuando cambia la entrada de texto?