schematics/src/ng-add/utils.js
function addProviderToModule(source, modulePath, classifiedName, importPath) {
    return addSymbolToNgModuleMetadata(source, modulePath, 'providers', classifiedName, importPath);
}
function addProviderToModule(source, modulePath, classifiedName, importPath) {
    return addSymbolToNgModuleMetadata(source, modulePath, 'providers', classifiedName, importPath);
}
function addProviderToModule ( source , modulePath , classifiedName , importPath ) { return addSymbolToNgModuleMetadata ( source , modulePath , 'providers' , classifiedName , importPath ) ; }
Custom function to insert a provider into NgModule. It also imports it.
Custom function to insert a provider into NgModule . It also imports it .