First issue you are pass 4 arguments to this pipe from html and you set the transform function to recive just 2 arguments
On Thu, 23 Jul 2020, 01:19 Maureen Moore, <makam...@gmail.com> wrote: > I've tried putting "var totals = [];" everywhere. I've tried putting it > before the transform function and I've tried putting it in the component. > It can't go anywhere except where it is now but that's leading to my issue > so that's no good. > > -- > You received this message because you are subscribed to the Google Groups > "Angular and AngularJS discussion" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to angular+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/angular/bdb0a2ae-d6df-425f-9794-b5f3a864854eo%40googlegroups.com > <https://groups.google.com/d/msgid/angular/bdb0a2ae-d6df-425f-9794-b5f3a864854eo%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/angular/CACCz1%2BhNEBg9EcUhJnUYzpo%2B5nhcTaBoM3S4B%3Dtv5aXomF_aew%40mail.gmail.com.