Skip to content

Allow returning value when requiring/importing the lib #31

Description

@Nargonath

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. 👍

Thanks for your library.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions