I am currently in the process of developing an Angular >2 library that serves as a wrapper for another library originally coded in vanilla/plain JavaScript.
The external library in question is a gallery that performs actions such as DOM manipulation (creating/removing/updating elements) and event handling (click events).
One major challenge I have encountered while integrating this library into an Angular component is that the generated DOM does not register with Angular, resulting in the missing _ngcontent-xxx attribute in the HTML output... and consequently, styles are not being applied.
How do you suggest managing such external libraries within an Angular environment?