Is it possible to decorate the angular number
filter, to return the input unmodified if it is not a number?
<my-tag input-value="{{foo() | number: 2}}"></my-tag>
When foo()
would return 1.2345, the value should show 1.23, but when it returns "abcd" it would return just that: "abcd".