My code looks like this:
$scope.modal = {};
$scope.modal.option = {};
Could I combine these into just one statement or do I always have to do this in two stages?
My code looks like this:
$scope.modal = {};
$scope.modal.option = {};
Could I combine these into just one statement or do I always have to do this in two stages?