2016-04-25 11 views

答えて

1

HTML:

<div ng-bind-html="getText()"></div> 

コントローラ:

$scope.getText = function(){ 
    var new = $templateCache.get('isnew.html'); 
    return 'My product ' + new; 
} 
+0

があなたの答えについて少し説明できますか? – Sampath

+0

私はそれを働かせることができません –

+0

最近私はplunkerを提供する – MarkoCen

関連する問題