AngularJS – Services
Services are singleton objects or just like a javascript function to perform a specific task. Angular allow us to use these services with controllers, service, filter or directive. Whenever we want to use service with these components, we will have to specify the service name along with the component. By doing so, component ask angular to …