HTML5 Calculator with AngularJS