Automatically wraps global dependencies into an Angular injectable.  Works for most libraries that support requirejs.