feat(templating): completed work on templating as data source, closes #816

This commit is contained in:
Torkel Ödegaard
2016-04-28 19:31:43 +02:00
parent 7349427189
commit 8b4c7c94b8
4 changed files with 9 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ function (angular, _, coreModule) {
if (_.isString(options)) {
this.value = options;
this.html = $sce.trustAsHtml(this.value);
this.html = $sce.trustAsHtml(templateSrv.highlightVariablesAsHtml(this.value));
return;
}