added angular integration to updating soFar value