Is there any reason you're being so specific with these comparisons?  For example, if (!$scope.config.osc) will give the same result here.  If the comparisons can be a little more generic then we could probably write a generic method to set these defaults.