When I use totals : number[ ] = [ ]; instead of totals: any[];, the 
typeerror goes away but it displays NaN for the grand total.

-- 
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/b64ab4cb-ee21-4e0f-8477-898a7ec2127fo%40googlegroups.com.

Reply via email to