In Angular, is there a way to modify the filter such that it only returns exact matches?
Example:
var words = [ { title: \"ball\" }, {
Try this :
var words = [ { title: "ball" }, { title: "wall" }, { title: "all" }, { title: "alloy" } ]; var wordsFiltered = filter('filter') ( words, { 'title': 'all' }, true );