0

I'm developing a little app which uses Angular and Browserify. When I declare a new module I expect to Angular be already loaded in window, so I use

 var angular = window.angular

and so on. This work well, but since I'm requiring a third part module (ngReact) declared as

 require('ngReact')

I get this message on the console:

 WARNING: Tried to load angular more than once.

How can avoid it?

Raul Vallespin
  • 1,323
  • 2
  • 11
  • 16

0 Answers0