nexus site path corrected
[portal.git] / ecomp-portal-FE / client / bower_components / angular-cache / build_examples / browserify / app.js
1 var angular = require('angular');
2
3 angular.module('app', [
4   // this is what you would do in a real app
5   // require('angular-cache')
6
7   // for the example to work
8   require('../../dist/angular-cache.js')
9 ]).run(function ($rootScope, CacheFactory) {
10   $rootScope.test = 'It works! Using ' + (CacheFactory ? 'angular-cache' : 'undefined');
11 });