0 votes
in Angular by
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

+1 vote
asked Jul 5, 2021 in Angular by sharadyadav1986
0 votes
asked Sep 18, 2019 in Angular by john ganales
...