Back to LanguageTool Homepage - Privacy - Imprint

LT with Angular: How to display results?

I have created a form which submits text retrieved from a textarea element to LT server’s ‘/check’ route and retrieves matches successfully.

I’d like to display them in the same format as the example shown in this archived wiki entry and on the languagetool homepage: http://wiki.languagetool.org/integration-on-websites

I have tried to implement a solution with the TinyMCE Angular package. Managed to get the TinyMCE editor working and passed the parameters to it, but I have a feeling that the parameters are useless unless I can somehow add the ‘editor_plugin2.js’ working, which I have no idea how to do in typescript/angular. Then I’m not sure how I’m supposed to pass the results from LT server back to the editor.

So is there some package which allows this, or just a simple way to interpret the LT response without manually coding all the styles?