I'm using DHTMLX library for windows system in my application.
In Angular1 I did something like this:
var windows = new dhtmlXWindows();
var wnd = windows.createWindow();
var new_scope = $rootScope.$new();
var content_dom = angular.element($compile('<div>Content</div>')(new_scope))[0];
wnd.attachObject(content_dom);
Is it possible to do the same in Angular2?
I guess I should work with DynamicComponentLoader and loadIntoLocation, but i don't understand what should I put into loadIntoLocation function's parametres hostLocation and anchorName.