What is the purpose of the $compile service in AngularJS?
A. To handle HTTP requests
B. To create a new scope
C. To compile HTML elements with directives and expressions
D. To provide data to controllers
Answer:C
What is the purpose of the $compile service in AngularJS?
A. To handle HTTP requests B. To create a new scope C. To compile HTML elements with directives and expressions D. To provide data to controllers