1
|
|
|
"use strict"; |
2
|
|
|
app.controller('rangeController', ['$scope', 'Security', function ($scope, Security, $rootScope) { |
3
|
|
|
$scope.directiveScopeDict = {}; |
4
|
|
|
function Initialize(){ |
5
|
|
|
$scope.deptRange = {}; |
6
|
|
|
$scope.deptRange2 = {}; |
7
|
|
|
} |
8
|
|
|
Initialize(); |
9
|
|
|
|
10
|
|
|
$scope.EventListener = function(scope, iElement, iAttrs, controller){ |
11
|
|
|
console.log("<"+iElement[0].tagName+">" +" Directive overried EventListener()"); |
|
|
|
|
12
|
|
|
var prgmID = scope.programId; |
13
|
|
|
var tagName = iElement[0].tagName; |
14
|
|
|
if($scope.directiveScopeDict[prgmID] == null || typeof($scope.directiveScopeDict[prgmID]) == "undefined"){ |
15
|
|
|
$scope.directiveScopeDict[prgmID] = scope; |
16
|
|
|
} |
17
|
|
|
|
18
|
|
|
iElement.ready(function() { |
19
|
|
|
}) |
20
|
|
|
} |
21
|
|
|
|
22
|
|
|
$scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){ |
23
|
|
|
} |
24
|
|
|
|
25
|
|
|
$scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
26
|
|
|
} |
27
|
|
|
|
28
|
|
|
$scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
29
|
|
|
return true; |
30
|
|
|
} |
31
|
|
|
|
32
|
|
|
$scope.CustomSelectedToRecord = function(sRecord, rowScope, scope, iElement, controller){ |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
$scope.CustomSubmitDataResult = function(responseObj, httpStatusCode, scope, element, attrs, ctrl){ |
36
|
|
|
} |
37
|
|
|
}]); |