I want to manually compile some HTML containing directives. What is the equivalent of $compile in Angular 2?
$compile
For example, in Angular 1, I could dynamic
this npm package made it easier for me: https://www.npmjs.com/package/ngx-dynamic-template
usage:
'" [context]="{param1:'value1'}" [extraModules]="[someDynamicModule]">