What is the purpose of the $filter service in AngularJS?
A. To handle HTTP requests
B. To provide data to controllers
C. To define routing information
D. To apply a filter to an expression in the view
Answer:D
What is the purpose of the $filter service in AngularJS?
A. To handle HTTP requests B. To provide data to controllers C. To define routing information D. To apply a filter to an expression in the view