angular-accordion icon indicating copy to clipboard operation
angular-accordion copied to clipboard

Allow returning value when requiring/importing the lib

Open Nargonath opened this issue 8 years ago • 1 comments

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.

Nargonath avatar Aug 03 '17 13:08 Nargonath

Yes, sure. Thank you for the suggestion :)

uxxman avatar Aug 10 '17 22:08 uxxman