I have this in a controller:
我在控制器中有这个:
$scope.address = new Address();
$scope.hasAddress = $scope.address.street !== undefined && $scope.address.street.length > 0;
$scI have this in a controller:
我在控制器中有这个:
$scope.address = new Address();
$scope.hasAddress = $scope.address.street !== undefined && $scope.address.street.length > 0;
$sc