'Is there any way to intercept Angular core methods to do some AOP stuff?

I'm working with Angular 12. I would like to know if it is possible to intercept a core method call such as createComponent() from ViewContainerRef under @angular/core, to be able to do some AOP stuff.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source