Hi Alekhya,
When you have full control over the page you can replace console with a service of your own. This is not a “good practice”™️, and I would recommend against it unless you really know what you are doing. the idea is something like this: orgConsole = consoleconsole = { ...orgConsole log (...args) => orgConsole(...arg), error(...arg) => orgConsole.error(...args) } but be careful with this. It is really easy to end up with unintended results ;) Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.