Minor fix on tg-bind-html directive.
parent
b315dc2f71
commit
3a03eca67d
|
@ -60,7 +60,7 @@ BindOnceTitleDirective = ->
|
||||||
BindHtmlDirective = ->
|
BindHtmlDirective = ->
|
||||||
link = ($scope, $el, $attrs) ->
|
link = ($scope, $el, $attrs) ->
|
||||||
$scope.$watch $attrs.tgBindHtml, (val) ->
|
$scope.$watch $attrs.tgBindHtml, (val) ->
|
||||||
$el.html(val) if val
|
$el.html(val) if val?
|
||||||
|
|
||||||
return {link:link}
|
return {link:link}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue