There is the following way to add HTML dynamically in AngularJS
var template = '<div>{{value}}</div>';
var element = angular.element(template);
placeholder.replaceWith(element);
$compile(element)($scope);
Is it possible to do the same from templateURL or load template separately? (with standard mechanism so that it is cached in $templateCache)