Moved logic from calculator.js and adapted it to work with angular_calc.
Got a start for a decimal point in.

I don't want to spend more time on this right now so I am going to leave
this for a later date.