A
A
Alexander2017-05-08 07:30:43
Angular
Alexander, 2017-05-08 07:30:43

Why is Angular sending many requests on the current route?

Angular is used in the admin panel, everything works fine, but as soon as I execute a request, I see a bunch of requests for the current route to the server. What can be wrong?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Abdulla Mursalov, 2017-05-08
@amaprograma

Now guess

D
DarthJS, 2017-05-08
@DarthJS

a piece of code would be :)
You execute the request in the run block the
request is duplicated in the ui-router resolves
the request in the loop :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question