How to install license in Angular 4 app

Hi There,

We started refactoring our solution to be in a mono repository structure Nx Angular.

After applying our license key in the component ngOnInit() the evaluation watermark still persists, and
I cannot figure out why the key is not being applied.

Please see example of component here, I’ve also created a sample application to replicate the issue.

Tiny URL Link

I compressed the application in a zip file.

To run the application

please unzip.

  1. npm i
  2. ng serve some-app --host=some-host note host flag not needed but, serving as localhost works but as specified domain does not, our license are licensed to run on unlimited domains.
  3. The application renders showing the watermark.

Both MyInternalDiagramComponent as well as MyComponentComponent displays the watermark