Calculator application in angular js