Minor fix on tg-bind-html directive.

stable
Andrey Antukh 2014-07-09 17:44:31 +02:00
parent b315dc2f71
commit 3a03eca67d
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ BindOnceTitleDirective = ->
BindHtmlDirective = ->
link = ($scope, $el, $attrs) ->
$scope.$watch $attrs.tgBindHtml, (val) ->
$el.html(val) if val
$el.html(val) if val?
return {link:link}