Match ng-hyper's handling of option values.