Add Library to Footer If I am using the Libraries API module to add a javascript library in my module, is it possible to have the library load in the footer instead of the header?

If not is there an alternative method?
Instead of running the libraries_load() function:

$library = libraries_load('easyzoom');


I just used the libraries_get_path() function to get the path and attached to the element and added scope of footer.

$easyzoom_library_path = libraries_get_path('easyzoom');

$element['#attached']['js'] = array(
  $easyzoom_library_path . '/dist/easyzoom.js' =&gt; array('scope' =&gt; 'footer'),
);