|
@@ -13,6 +13,9 @@ myApp.controller('AppsController', ['$scope', '$http', '$location', '$routeParam
|
|
|
$scope.finalHTI = false;
|
|
|
|
|
|
$scope.getApps = function(){
|
|
|
+
|
|
|
+ angular.element('*[id^="tviz"]').remove();
|
|
|
+
|
|
|
var genre = $routeParams.genre;
|
|
|
var query = "";
|
|
|
if(genre) {
|
|
@@ -24,6 +27,9 @@ myApp.controller('AppsController', ['$scope', '$http', '$location', '$routeParam
|
|
|
}
|
|
|
|
|
|
$scope.getApp = function(){
|
|
|
+
|
|
|
+ angular.element('*[id^="tviz"]').remove();
|
|
|
+
|
|
|
var id = $routeParams.id;
|
|
|
var posture = $routeParams.posture;
|
|
|
var query = "";
|
|
@@ -78,11 +84,12 @@ myApp.controller('AppsController', ['$scope', '$http', '$location', '$routeParam
|
|
|
}
|
|
|
|
|
|
$scope.getApp2 = function(app, $index){
|
|
|
+ angular.element('*[id^="tviz"]').remove();
|
|
|
if(app.reviews.length && app.permissions.length) {
|
|
|
$http.get('/crawler/downloadedapps/'+app.appId).then(function(response) {
|
|
|
//$scope.app = response.data;
|
|
|
$scope.appResultList[$index] = response.data;
|
|
|
- $scope.showTviz(response.data, $index);
|
|
|
+ //$scope.showTviz(response.data, $index);
|
|
|
$scope.securityRisksTC = [
|
|
|
"Client communication used?",
|
|
|
"SSL/TLS used?",
|