questlab/www/analytics/plugins/CoreHome/angularjs/piwikAppConfig.js
coderkun 046a724272 merge
2015-04-27 16:42:05 +02:00

9 lines
No EOL
335 B
JavaScript

angular.module('piwikApp.config', []);
(function () {
var piwikAppConfig = angular.module('piwikApp.config');
// we probably want this later as a separate config file, till then it serves as a "bridge"
for (var index in piwik.config) {
piwikAppConfig.constant(index.toUpperCase(), piwik.config[index]);
}
})();