L
L
Levingstone2020-10-20 03:57:03
Angular
Levingstone, 2020-10-20 03:57:03

Can I get data from a service in a regular function?

Actually, the essence of the question is in the title. If there is such an opportunity, I will be grateful for an example.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Shvedov, 2020-10-20
@mmmaaak

Yes, if you forward the service as a function parameter

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question