Posts Tagged 'filter'

AngularJS Filter

In this post we’ll analyze the filter functionality provided us by AngularJS.

Filter is a way to format the data displayed. There are several built-in filter but we can create our own filters.

To invoke filters, in the HTML code, we have to use the pipe (|) inside the double braces ( {{ }} )

For example, in this way we’ll capitalize all characters of string:

// result: TODAY IS A BEAUTIFUL DAY
{{ 'Today is a beautiful day' | uppercase }}

Continue Reading →
0