Simple maths application built in AngularJS