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