So I have a pipe like this:
<ul *ngFor="#eachNumber of (NumberArray | MyPipe: '1')"></ul>
How can I assign the returned result of the pipe to a variable that can be used elsewhere in my code?
I've looked for a while and read about something called assign-local but couldnt find much information on it. Is there a obvious way to do this that I am just missing?
transform()
on each array item. – RancherformattedNumber = myPipe.transform(eachNumber)
– Intergrade