я видел кусок кода о Provider угловых как показано ниже:
angular.module('BlurAdmin.theme')
.provider('baConfig', configProvider);
/** @ngInject */
function configProvider() {
var conf = {
theme: {
blur: false
}
};
conf.changeTheme = function(theme) {
angular.merge(conf.theme, theme)
};
conf.$get = function() {
// what does this code meaning? why delete $get?
delete conf.$get;
return conf;
};
return conf;
}
Но я не знаю delete conf.$get
означать, что?