1

I'm working on an AngularJS application and trying to convert it from a Gulp bundling system over to Webpack. I've been searching for some time now for arguments for/against utilizing the AngularJS dependency injection in tandem with require() statements for Webpack dependency graphs. Why might someone continue to inject dependencies with AngularJS, or will that just add bloat and repeat functionality that Webpack gives us out of the box?

Is there any reason we might maintain both the require() statements AND dependency injection??

enter image description here

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.