S
S
Seva2016-11-28 15:39:26
JavaScript
Seva, 2016-11-28 15:39:26

How to debug dependencies in Anguar?

Hello,
I'm building a large project, dependencies are injected incorrectly somewhere, so after minification and concatenation of scripts, an error occurs. Who can tell where exactly to look for the error?
d11bb7b7f03b44519e5ec2585f23e9ae.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bio, 2016-11-28
@bioforge

Most likely the minifier replaces the names of injected objects.
Use https://github.com/olov/ng-annotate or custom annotation https://docs.angularjs.org/guide/di

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question