Initial OpenECOMP Portal commit
[portal.git] / ecomp-portal-FE / client / bower_components / angular-cache / build_examples / r.js / app.js
diff --git a/ecomp-portal-FE/client/bower_components/angular-cache/build_examples/r.js/app.js b/ecomp-portal-FE/client/bower_components/angular-cache/build_examples/r.js/app.js
new file mode 100644 (file)
index 0000000..74cb904
--- /dev/null
@@ -0,0 +1,9 @@
+define('app', [
+  'angular',
+  'angular-cache'
+], function (angular, angularCacheModuleName) {
+  return angular.module('app', ['angular-cache'])
+    .run(function ($rootScope) {
+      $rootScope.test = 'It works! Using ' + angularCacheModuleName;
+    });
+});