【发布时间】:2015-01-28 11:03:12
【问题描述】:
如何限制 ng-bind-html 生成 angularJS 的字符数?有可能吗?
例如在 js 文件中有 <span>some text </span> 和 $sce 和 ng-bind-html 转换为 html。
我想显示som..。怎么限制?
【问题讨论】:
-
This 是你的答案!!!挺好看的!!
标签: angularjs ng-bind-html ng-bind