in Angular by
Q:
How to create a service in Angular?

1 Answer

0 votes
by
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. They are basically three ways in which a service can be created in Angular:

Factory

Service

Provider

Related questions

0 votes
asked Jan 15, 2020 in Angular by rahuljain1
0 votes
asked Jan 15, 2020 in Angular by rahuljain1
...