1 define([], function () {
4 angular.module('app.yangman').controller('CaseCtrl', CaseCtrl);
6 CaseCtrl.$inject = ['$scope'];
8 function CaseCtrl($scope){
11 yangCase.empty = ($scope.case.children.length === 0 ||
12 ($scope.case.children.length === 1 && $scope.case.children[0].children.length === 0));