ui-router-extras
ui-router-extras copied to clipboard
Export the module name
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')]);
That includes all core Angular modules as well as the main UI router.
Agreed, but very low on my priorities list.
PR welcomed.
PR: #345. Please review.