Google News
logo
Angular - Interview Questions
How to create a service in Angular ?
In Angular, a service is a substitutable object that is wired together using dependency injection. A service is created by registering it in the module it is going to be executed within. There are basically three ways in which you can create an angular service.
 
* Factory
* Service
* Provider
Advertisement