Posted On: Feb 22, 2018
Creating a service using the module's factory API is one of the most common ways to create a service. We first create an object, add properties to it and return the same object, which can later be injected into the components like service, controller, filter or directive.
Never Miss an Articles from us.
Explain the architecture of AngularJS?..
What is the Template in AngularJS?..