Open mohsen1 opened 8 years ago
When using angular-poller with CommonJS require statements it's not possible to retrieve the AngularJS module name from the module.
require
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.
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: