I need to use certain library (XYZ) in my Angular application. When I initialise certain object in the library, it attaches and (as far as I understand) starts emitting some