1 define([], function () {
4 angular.module('app.yangman').controller('TypeBitCtrl', TypeBitCtrl);
6 TypeBitCtrl.$inject = ['$scope'];
8 function TypeBitCtrl($scope){
9 var yangTypeBit = this;
12 yangTypeBit.valueChanged = valueChanged;
15 * Methods for checking correct input
17 function valueChanged(){
18 $scope.type.setLeafValue($scope.type.bitsValues);
19 $scope.node.checkValueType();
20 $scope.node.fill($scope.node.label, $scope.node.value);
21 $scope.buildRootRequest();