Exploration of floating points using angularJs