Grade calculator built to learn AngularJS