What are Filters in AngularJS?

Technology Community › Category: AngularJS › What are Filters in AngularJS?
VietMX Staff asked 5 years ago

Filters are used to format data before displaying it to the user. They can be used in view templates, controllers, services and directives. There are some built-in filters provided by AngularJS like as Currency, Date, Number, OrderBy, Lowercase, Uppercase etc. You can also create your own filters.

Filter Syntax:

{{ expression | filter}}