vasyabigi / angular-slick

Angular directive for slick-carousel
http://vasyabigi.github.io/angular-slick/
MIT License
500 stars 237 forks source link

Export the module name #143

Open mohsen1 opened 8 years ago

mohsen1 commented 8 years ago

When using angular-slick with CommonJS require statements it's not possible to retrieve the AngularJS module name from the module.

Most AngularJS modules published to npm export the module name string value so they can be used like following example:

angular.module('myApp', [require('angular-resource')]);