feat(configuration): add methods to change config

pull/46/head
KostyaDanovsky 2016-05-16 12:12:57 +03:00
parent b548aefc69
commit 99425ca91e
1 changed files with 9 additions and 0 deletions

View File

@ -78,6 +78,15 @@
},
}
};
conf.changeTheme = function(theme) {
angular.merge(conf.theme, theme)
};
conf.changeColors = function(colors) {
angular.merge(conf.colors, colors)
};
conf.$get = function () {
delete conf.$get;
return conf;