Ok.
With help of: https://stackoverflow.com/a/19705096/9077523, Add angularjs code in template widget, Angular Controllers, Custom widget: Angular radial color picker I got the following:
HabPanel template widget with:
<div oc-lazy-load="['/static/myLog.js']">
<div ng-bind-html="itemValue('String_MyLog') | unsafe">
</div
</div>
openHAB-conf/html/myLog.js with:
var app = angular.module('app.mylog', [])
app.filter('unsafe', function($sce) {
return $sce.trustAsHtml;
});