Hello,
I ran across a problem while trying to create a Finesse gadget using Angular framework.
I get the error message: "The selector "app-root" did not match any elements".
App root points to an html file containing only a <p> tag text so there should be no problems in the html file.
I put the code in the attachment.
Thanks in advance.
EDIT: I also added the following code in the gadget.js file:
// Bootstrap Angular app
var appRoot = document.querySelector("#app-root");
var ngModule = window.ng.core.NgModule({imports: [window.AppModule], bootstrap: [window.AppRootComponent]}); window.ng.platformBrowserDynamic.platformBrowserDynamic().bootstrapModule(ngModule);
and added the "app-root" id to the <app-root> angular element however still no luck.