News for hackers. Stuff that matters.

maniaccoder

I would suggest extracting the calculation functions to angular services.