I\'m new to angular and i\'m trying to set a default state to select when my ng-model is null. Basically I want to set it to \'None\' if the model is empty. I tried the below co
What I would suggest you to do is this. Make a function in your controller and check if $scope.item.carType == undefined assign a default value.
$scope.item.carType == undefined
$scope.setDefaultValueForCarType = function () { if($scope.item.carType == undefined) { $scope.item.carType = "none"; } }
This will work too.