gsklee / ngStorage

localStorage and sessionStorage done right for AngularJS.
MIT License
2.34k stars 461 forks source link

Return module name at end of chain #276

Closed carc1n0gen closed 3 years ago

carc1n0gen commented 6 years ago

Return module name at end of chain so that so that it can be used in es6 style code without a literal string module name.

For example:

import ngStorage from 'ngstorage';

angular.module('myApp', [ngStorage]);
carc1n0gen commented 6 years ago

Looks like the CI tests failed at installing phantomJS