What is a factory in AngularJS?
A. A function that defines a module
B. An object that manages the scope
C. A service that returns a value or an object
D. A directive that defines a custom validation
Answer:C
What is a factory in AngularJS?
A. A function that defines a module B. An object that manages the scope C. A service that returns a value or an object D. A directive that defines a custom validation