Im trying to play around with the new NgTemplateOutlet. I have found and read about it here:
NgTemplateOutlet example that doesn't work for me
I tried using the same sample in there, but I always get the same error: Template parse errors: components on an embeded template: MyDir
I guess there is something not correct with the example or at least missing (or maybe im wrong but I did try everything I could think of for 3 hours)
What im aiming to achieve ultimatly once I have a working example with NgTemplateOutlet is to write the following in my component html:
<template is="dom-bind"></template>
If I write it as is, angular will just remove the entire template tag from the dom. The reason to why I need this is described in the following questetion which is already on stack over flow: using paper datatable in angular2