Files
habitica/public/js/services/sharedServices.js
2013-09-06 19:19:43 +02:00

16 lines
463 B
JavaScript

'use strict';
/**
* Services that persists and retrieves user from localStorage.
*/
angular.module('sharedServices', [] ).
factory("Items", ['$rootScope', function($rootScope){
return window.habitrpgShared.items;
}]).
factory("Algos", ['$rootScope', function($rootScope){
return window.habitrpgShared.algos;
}]).
factory("Helpers", ['$rootScope', function($rootScope){
return window.habitrpgShared.helpers;
}]);