ui-router-extras icon indicating copy to clipboard operation
ui-router-extras copied to clipboard

Export the module name

Open mohsen1 opened this issue 8 years ago • 3 comments

When using angular-poller 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')]);

mohsen1 avatar Jun 06 '16 20:06 mohsen1

That includes all core Angular modules as well as the main UI router.

mgol avatar Jun 23 '16 14:06 mgol

Agreed, but very low on my priorities list.

PR welcomed.

christopherthielen avatar Aug 17 '16 17:08 christopherthielen

PR: #345. Please review.

mgol avatar Oct 19 '16 11:10 mgol