Open In App

Web technologies Questions | AngularJS Quiz | Set-3 | Question 5

Which of the below is the correct syntax for orderBy Filter?

(A)



{{ string | uppercase}}

(B)



{{ orderBy_expression | orderBy : expression : reverse }}

(C)

{{ orderBy_clause | orderBy : expression : reverse }}

(D)

{{ orderBy_expression | orderBy : expression : forward}}

Answer: (B)
Explanation:

An orderBy filter is a handy tool used in angular js. The orderBy channel is responsible for sorting an exhibit. It sorts strings in sequential order requests and numbers in the numerical request.

Quiz of this Question
Please comment below if you find anything wrong in the above post

Article Tags :