This is a very beautiful example of Ng-Switch, We are doing the calculator function like addition/Subtraction/multiplication/division. We have two text boxes where user input the value on which he/she want the calculation. See the example:
Ng-Switch