diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js index 3e18482..b1d29b8 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/DAController.js @@ -1,8 +1,8 @@  'use strict'; -AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "DataService", "TermService", "AIAConstants","startsWithLetter", - function ($scope, $rootScope, $compile, $http, $log, $location, $timeout, DA, Modules, $routeParam, DataService, TermService, AIAConstants, startsWithLetter) { +AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$filter","$http", "$log", "$location", "$timeout", "DA", "Modules", "$routeParams", "DataService", "TermService", "AIAConstants", + function ($scope, $rootScope, $compile, $filter, $http, $log, $location, $timeout, DA, Modules, $routeParam, DataService, TermService, AIAConstants) { $scope.genderId = ""; @@ -11,8 +11,7 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l $scope.imagePath = ""; $rootScope.BodyRegionData; $rootScope.BodyRegionCordinatesData; - $rootScope.isTransparencyActiva - ted = false; + $rootScope.isTransparencyActivated = false; $scope.isTransparencyBtnClicked = false; $rootScope.BodyLayerData; $rootScope.VocabTermData; @@ -9826,6 +9825,19 @@ AIA.controller("DAController", ["$scope", "$rootScope", "$compile", "$http", "$l }, 100); }; + //$scope.startsWithLetter = function (letter) { + // return function (items, letter) { + // var filtered = []; + // var letterMatch = new RegExp(letter, 'i'); + // for (var i = 0; i < items.length; i++) { + // var item = items[i]; + // if (letterMatch.test(item.name.substring(0, 1))) { + // filtered.push(item); + // } + // } + // return filtered; + // }; + //} $scope.ApplySearch = function () { $rootScope.isLoading = false; $('#spinner').css('visibility', 'hidden');