angular-accordion
angular-accordion copied to clipboard
Allow returning value when requiring/importing the lib
Would be nice if we could use the lib as is:
import angAccordion from 'ang-accordion';
angular.module('myApp', [angAccordion]);
instead of the current:
import 'ang-accordion';
angular.module('myApp', ['angAccordion']);
If you are ok with this, I'll be happy to make a PR. :+1:
Thanks for your library.
Yes, sure. Thank you for the suggestion :)