6 ms·I would suggest extracting the calculation functions to angular services.by maniaccoder 13y agoI would suggest extracting the calculation functions to angular services.