aboutsummaryrefslogtreecommitdiffstats
path: root/moon_gui/static/app/model/action/model.controller.view.js
diff options
context:
space:
mode:
Diffstat (limited to 'moon_gui/static/app/model/action/model.controller.view.js')
-rwxr-xr-xmoon_gui/static/app/model/action/model.controller.view.js53
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;
-
- });
-
- }
-
- }
-
-})();