christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)
http://christopherthielen.github.io/ui-router-extras/
MIT License
917 stars 211 forks source link

Export the module name #326

Open mohsen1 opened 8 years ago

mohsen1 commented 8 years ago

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')]);
mgol commented 8 years ago

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

christopherthielen commented 7 years ago

Agreed, but very low on my priorities list.

PR welcomed.

mgol commented 7 years ago

PR: #345. Please review.