2015-04-24 11:27:00 -04:00

22 lines
374 B
JavaScript

'use strict';
function AdagiosConfig(data) {
this.data = data;
}
angular.module('bansho.config', [])
.provider('readConfig', function ReadConfigProvider() {
var data = {};
this.loadJSON = function (value) {
data = value;
};
this.$get = [function () {
return new AdagiosConfig(data);
}];
});