Fair, but I'd still go with `if $scope.ranged == undefined then true else $scope.ranged` (and add comment about compatibility)