鉴于这种:
<span ng-repeat="extra in extras">
<br>
<input type="checkbox" ng-click="addExtra()" value="{{extra.id}}" >{{extra.name}} - <strong>{{extra.real_price}}</strong>
</span>
如何使 {{extra.real_price}} 使用过滤器仅输出数字?
示例:extra.real_price 为 'from 400€' 转换为 '400'