5/3/1 calculator with angular.js