A simple calculator using AngularJS