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?
Just in case anyone stumbled upon this question. This is possible with Angular 4 now, with the updated as
syntax :)