diff options
Diffstat (limited to 'moon_gui/static/app/model/action/model.controller.view.js')
-rwxr-xr-x | moon_gui/static/app/model/action/model.controller.view.js | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/moon_gui/static/app/model/action/model.controller.view.js b/moon_gui/static/app/model/action/model.controller.view.js deleted file mode 100755 index 7605eecf..00000000 --- a/moon_gui/static/app/model/action/model.controller.view.js +++ /dev/null @@ -1,53 +0,0 @@ -(function() { - - 'use strict'; - - angular - .module('moon') - .controller('ModelViewController', ModelViewController); - - ModelViewController.$inject = ['$scope', 'metaRuleService']; - - function ModelViewController($scope, metaRuleService) { - - var view = this; - - /* - * - */ - - view.model = $scope.model; - - view.meta_rules_values = false; - - activate(); - - function activate(){ - - if(view.model.meta_rules.length > 0 ){ - - findMetaRules(); - - }else{ - - view.meta_rules_values = []; - - } - - } - - function findMetaRules(){ - - metaRuleService.findSomeWithMetaData(view.model.meta_rules).then(function(metaRules){ - - view.meta_rules_values = metaRules; - - view.model.meta_rules_values = metaRules; - - }); - - } - - } - -})(); |