a calculator written in angularjs