Assign pipe output in angular2 to variable
So I have a pipe like this:
<ul *ngFor="#eachNumber of (NumberArray | MyPipe: '1')"></ul> How can I assign the returned result of this process to a variable that can be used elsewhere in my code?
I searched for a while and read about something called assign-local, but couldn't find much information about this. Is there an obvious way to do this that I'm just missing?
+6