Yangman - rename controllers
[dlux.git] / modules / yangman-resources / src / main / resources / yangman / controllers / form / ym-type-empty.controller.js
1 define([], function () {
2     'use strict';
3
4     angular.module('app.yangman').controller('YMTypeEmptyCtrl', YMTypeEmptyCtrl);
5
6     YMTypeEmptyCtrl.$inject = ['$scope'];
7
8     function YMTypeEmptyCtrl($scope){
9         var yangTypeEmpty = this;
10         // methods
11         yangTypeEmpty.valueChanged = valueChanged;
12
13         /**
14          * Methods for checking correct input
15          */
16         function valueChanged(){
17             $scope.buildRootRequest();
18         }
19     }
20 });
21
22