$filter
('filter') will filter out the records as per the input value in the textbox. We have 5 values in items as: $scope.items
= [ { id: 1, name: 'ABC' }, { id: 2, name: 'DEF' }, { id: 3, name: 'GHI' }, { id: 4, name: 'Jkl' }, { id: 5, name: 'ABCD' }]; so once user enter "A" it will result two records "ABC" and "ABCD" as ouput. See code snippet: