[Angular 2] NgNonBindable

If you want to print someting like {{content}} on the html, using ng-non-bindable directive:

 

<div ng-non-bindable>
    <-- {{content}}
</div>

 

posted @ 2015-11-06 02:10  Zhentiw  阅读(369)  评论(0编辑  收藏  举报