Automatically wraps global dependencies into an Angular injectable. Works for most libraries that support requirejs.
do we have to include angular-global-injector as a dependency to our app? I keep getting Unknown provider: _Provider <- _ <- HomeController despite including script tags in the correct order.
you have to include 'globals' as a dependency. I guess I forgot to mention that in the docs
so angular.module('myapp', ['globals'])
that makes sense, thank you! I will try this and report back
when i include globals as a module dependency, I don't even need to include the name of the 3rd party library in my controller
That's a bit odd, but good to here. I've been making a plunkr example to make it easier to get started with. Also I'd appreciate any feedback or issues because I don't have a ton of user's yet and I'd love for the project to grow :)