I have an angular expression in my html which returns some data:
<span ng-SOMTHING="stripFirstLetters">
{{thing.data}}
</span>
At the minute, the data being returned has 5 letters at the beginning which I want to remove. Can I accomplish this with ng-pattern?
So in my controller, somthing like this:
$scope.stripFirstLeters = /^\d{5}/;
I just want to know if what I'm trying to do is possible... Thanks!
/^\d{5}/.