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