I have a simple NG-Admin project. I need to make a couple API calls that are not the default functionality of their awesome product. I see they use Restangular and I'd like to continue using it too. What is the normal way to reference a library that is included in another third party's library? I tried:
var adminApp = angular
.module('app', ['ng-admin', 'Restangular'])
.run(run);
But it tells me that I do not have the library. This means that I would need to include both Restangular and Angular on my index page, where ng-admin also includes them. Am I able to inject or pull a reference from their library to use it? Or is it fine to also include the libraries? Will I need to worry about keeping the version the same?
I have seen where you can reference the providers in their book to change headers and such, but not to use the methods provided such as
Restangular.all('accounts').
I'm happy to rtfm, just not sure where to start for this problem.
I'm still pretty new to Angular, forgive me if this is an overly simplistic question.