Skip to content

Instantly share code, notes, and snippets.

@zenius
Last active May 29, 2019 07:15
Show Gist options
  • Save zenius/e0608fb57db6b28e76729df7df572d3d to your computer and use it in GitHub Desktop.
Save zenius/e0608fb57db6b28e76729df7df572d3d to your computer and use it in GitHub Desktop.
AngularJS provides filters to transform data:
1. currency: Format a number to a currency format.
2. date: Format a date to a specified format.
3. filter: Select a subset of items from an array.
4. json: Format an object to a JSON string.
5. limitTo: Limits an array/string, into a specified number of elements/characters.
6. lowercase: Format a string to lower case.
7. number: Format a number to a string.
8. orderBy: Orders an array by an expression.
9. uppercase: Format a string to upper case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment