marcoslin / angularAMD

Facilitate use of RequireJS in AngularJS
http://marcoslin.github.io/angularAMD
MIT License
734 stars 171 forks source link

unknown provider #181

Open juunp opened 7 years ago

juunp commented 7 years ago

When trying to load a factory into a controller, i get an "unknown provider" error from angularJS.

I reproduced the error and the load structure from my project in this plnkr

Notes:

because I need to load some js libraries before the app.

edit: I found a workaround.

I declare problematic services with:

angularAMD.factory('bServ', bServ);