Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / angular-cache / build_examples / webpack_es6_2 / app.js
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 (file)
index 0000000..c75a0b3
--- /dev/null
@@ -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');
+});