Building a simple calculator with Angular.js