The filter is a vital aspect in AngularJS as well as Angular 4. It is the method of separating an item from a group of items inside an array or object arrays by specifying a particular type to it.

BY Best Interview Question ON 23 Jan 2020

Example

currency: This filter is used to format a number to a currency format.
date: This filter is used to format a date to a specified format.