This overwrites all console logs with blank function.
if (environment.production) {
enableProdMode();
window.console.log = function () { }; // disable any console.log debugging statements in production mode
// window.console.error = function () { };
}