AngularJS is providing set of filters to Format and Transform and Sort the data.
AngularJS is providing in-built filters to format and transform and sort the data.
AngularJS format and transform filters
AngularJS format filters help us to format and transform our data using the following filters.
We can use this currency filter to format currency into specific format
for example a decimal property is having just number (300), and now if you want to display that number in currency format like $300.
We will use this filter to format date into specific format like “DD/MM/YYYY” or “MM/DD/YYYY” …
We will use this filter to get specific or subset of data from a json object or array
most of the times we will use this in debugging.
we will use this filter to transform our string to lower case
we will use this filter to transform our string to upper case
we will use this filter to format a number to string and limit number of decimal
AngularJS sorting filters
we will use sortBy filter to sort the data.