1 var angular = require('angular');
3 angular.module('app', [
4 // this is what you would do in a real app
5 // require('angular-cache')
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');