diff options
Diffstat (limited to 'ecomp-portal-FE/client/bower_components/angular-cache/build_examples/webpack_es6_2/app.js')
-rw-r--r-- | ecomp-portal-FE/client/bower_components/angular-cache/build_examples/webpack_es6_2/app.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ecomp-portal-FE/client/bower_components/angular-cache/build_examples/webpack_es6_2/app.js b/ecomp-portal-FE/client/bower_components/angular-cache/build_examples/webpack_es6_2/app.js new file mode 100644 index 00000000..c75a0b36 --- /dev/null +++ b/ecomp-portal-FE/client/bower_components/angular-cache/build_examples/webpack_es6_2/app.js @@ -0,0 +1,8 @@ +import 'angular'; +import 'angular-cache'; + +let app = angular.module('app', [ + 'angular-cache' +]).run(($rootScope, CacheFactory) => { + $rootScope.test = 'It works, imported ' + (CacheFactory ? 'angular-cache' : 'undefined'); +}); |