Grade calculator built with AngularJS