AngularJS Developer Question: Download Questions PDF
Tell me what are the differences between service and factory methods?
Answer:
factory method is used to define a factory which can later be used to create services as and when required whereas service method is used to create a service whose purpose is to do some defined task.
Download AngularJS Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain me how to validate data in AngularJS? | Tell me when a scope is terminated, two similar “destroy” events are fired. What are they used for, and why are there two? |