AngularJS Developer Question:
Download Questions PDF

What is currency filter?

Answer:

Currency filter formats text in a currency format.

In below example, we've added currency filter to an expression returning number using pipe character. Here we've added currency filter to print fees using currency format.

Enter fees: <input type = "text" ng-model = "student.fees">
fees: {{student.fees | currency}}

Download AngularJS Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me what are the disadvantages of AngularJS?Tell me what is constant?