We can use AngularJS filters in expressions, as well as in directives. Here I’ll show you how to add AngularJS “orderBy” Filter to a directive. We will render a list of pre-defined books using the ...
In AngularJS, the “date” filter formats a text to a given date format. Here, in this article I’ll show you how to add the date filter to a view and how do we invoke the date filter from a controller ...
The AngularJS Filter “currency” works very much like the number filter. However, it will format the text (a number) and displays the value prefixed with the “$” (dollar) symbol. The “$” is the default ...
While explaining about AngularJS Features in one of my previous posts in the AngularJS section of this blog, I have discussed very briefly about Filters in AngularJS. Later in another post, I have ...
Often developers look for a quick solution to convert a string to uppercase or transform text values to uppercase while typing into an input box. If you were thinking about a conventional method, you ...
AngularJS expressions bind application data to an HTML element. Written inside two curly braces, it reminds us of JavaScript expressions or snippets. Though Angular expressions are different from ...
AngularJS is simply amazing, not to mention it is a JavaScript framework designed for web developers and designers, who wish to have more control over their web Applications. How much a web designer ...
Before we say “Hello” to the world using AngularJS, let us first find out what is AngularJS and why use AngularJS in the first place ...