I am developing a reusable angularjs component(module) which handles some 
client side storage and querying features. Without re-inventing the wheel I 
thought of using an already existing library call lovefield 
<https://github.com/google/lovefield> to perform these tasks. Now I am 
going to wrap that library and create my own angularjs services and 
directives inside my module to use methods from lovefield. When developing, 
I import *lovefield.min.js* using *<script> *tags inside my html. But when 
distributing my module, how should I inform the developers to use this 
dependency before using my module?


   - *Should I ask them to import it the same way I did (using <script> 
   tags)? or Should I include the lovefield.min.js code inside my module?*
   - *What is the recommended way of doing this? *
   

Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to