TutorialLesson 10Free preview
AngularJS Filters
This lesson is part of AngularJS · All levels
Summary
Filters in AngularJS transform values when displayed, such as changing uppercase, sorting, formatting currencies, and filtering rows. The filter is written with a pipe mark in the expression {{}} and can be used in ng-repeat. You can also create your own custom filters through module.filter.
Key points
- Inbuilt filters: uppercase, lowercase, orderBy, filter, currency
- The filter is marked with the pipe like the uppercase.
- Filters on ng-repeat are useful for search and sequencing
- Custom filters are made with module.filter(name, factory)
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.