【发布时间】:2014-06-28 04:06:25
【问题描述】:
所以我想在 ng-bind 指令中通过过滤器放置一个变量
ng-bind="input | filter"
但我想插入更多文字
ng-bind="input | filter + 'more' "
但这不起作用。有没有办法在 ng-bind 中添加更多文本,就像您只是使用 {{}} 一样:
{{input | filter}} more
【问题讨论】:
标签: angularjs ng-bind angular-filters