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
If you want to inject html code use directive
If you want to load whole component in some place, use DynamicComponentLoader:
https://angular.io/docs/ts/latest/api/core/DynamicComponentLoader-class.html